diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-11-24 15:24:54 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-09 17:01:59 +1100 |
commit | 613df979da6c032cbe6fa273fb8ca21af022157e (patch) | |
tree | 7fb2a791f4305966c597c1534fbcdd4cbd32ab10 /arch | |
parent | ad3ed15cd04b96de7c38204ba7c698cbccd8fe88 (diff) | |
download | linux-stable-613df979da6c032cbe6fa273fb8ca21af022157e.tar.gz linux-stable-613df979da6c032cbe6fa273fb8ca21af022157e.tar.bz2 linux-stable-613df979da6c032cbe6fa273fb8ca21af022157e.zip |
powerpc/8xx: DEBUG_PAGEALLOC doesn't require an ITLB miss exception handler
Since commit e611939fc8ec ("powerpc/mm: Ensure change_page_attr()
doesn't invalidate pinned TLBs"), pinned TLBs are not anymore
invalidated by __kernel_map_pages() when CONFIG_DEBUG_PAGEALLOC is
selected.
Remove the dependency on CONFIG_DEBUG_PAGEALLOC.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e796c5fcb5898de827c803cf1ab8ba1d7a5d4b76.1606231483.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/head_8xx.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index ee0bfebc375f..66ee62f30d36 100644 --- a/arch/powerpc/kernel/head_8xx.S +++ b/arch/powerpc/kernel/head_8xx.S @@ -47,8 +47,7 @@ * - Either we have modules * - Or we have not pinned the first 8M */ -#if defined(CONFIG_MODULES) || !defined(CONFIG_PIN_TLB_TEXT) || \ - defined(CONFIG_DEBUG_PAGEALLOC) +#if defined(CONFIG_MODULES) || !defined(CONFIG_PIN_TLB_TEXT) #define ITLB_MISS_KERNEL 1 #endif |