diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-06-03 09:29:06 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-17 00:09:09 +1000 |
commit | a36c0faf3dbc429d5ddcb941afe38dd6fe6c5901 (patch) | |
tree | ada151ecee0c045cae77dc7652bae9bca6f002cc /arch/powerpc/mm | |
parent | dac3db1edf8b4c75859f07789f577322f2a51e3a (diff) | |
download | linux-a36c0faf3dbc429d5ddcb941afe38dd6fe6c5901.tar.gz linux-a36c0faf3dbc429d5ddcb941afe38dd6fe6c5901.tar.bz2 linux-a36c0faf3dbc429d5ddcb941afe38dd6fe6c5901.zip |
powerpc/nohash: Remove DEBUG_CLAMP_LAST_CONTEXT
DEBUG_CLAMP_LAST_CONTEXT was there in the old days to reduce
number of contexts in order to ease debugging implementation
of context switching, but that's been quite stable during
years now.
As it is not user selectable, remove it.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/da81837b452e8b9f1657b529b9c3050dc10b9770.1622712515.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r-- | arch/powerpc/mm/nohash/mmu_context.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/mm/nohash/mmu_context.c b/arch/powerpc/mm/nohash/mmu_context.c index 46ff6a6b6e78..56d6715d6557 100644 --- a/arch/powerpc/mm/nohash/mmu_context.c +++ b/arch/powerpc/mm/nohash/mmu_context.c @@ -21,7 +21,6 @@ * also clear mm->cpu_vm_mask bits when processes are migrated */ -//#define DEBUG_CLAMP_LAST_CONTEXT 31 //#define DEBUG_HARDER /* We don't use DEBUG because it tends to be compiled in always nowadays @@ -74,9 +73,7 @@ void *abatron_pteptrs[2]; * -- BenH */ #define FIRST_CONTEXT 1 -#ifdef DEBUG_CLAMP_LAST_CONTEXT -#define LAST_CONTEXT DEBUG_CLAMP_LAST_CONTEXT -#elif defined(CONFIG_PPC_8xx) +#if defined(CONFIG_PPC_8xx) #define LAST_CONTEXT 16 #elif defined(CONFIG_PPC_47x) #define LAST_CONTEXT 65535 |