summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2024-08-07 10:56:04 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2024-08-07 22:49:19 +1000
commitfa740ca82277b476a49fee83c6fdb023656ef779 (patch)
tree83150dc1a25816f3b163254ef5b0bbca2f70a82f
parentc4afe3eb04a5fc095a9e3b1b25691f9ed31a52d3 (diff)
downloadlwn-fa740ca82277b476a49fee83c6fdb023656ef779.tar.gz
lwn-fa740ca82277b476a49fee83c6fdb023656ef779.zip
powerpc: Remove useless config comment in asm/percpu.h
commit 0db880fc865f ("powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.") has a config comment typo, and the #if/#else/#endif section is small and doesn't nest additional #ifdefs so the comment is useless and should be removed completely. Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240807025604.2817577-1-ruanjinjie@huawei.com
-rw-r--r--arch/powerpc/include/asm/percpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/percpu.h b/arch/powerpc/include/asm/percpu.h
index 634970ce13c6..ecf5ac70cfae 100644
--- a/arch/powerpc/include/asm/percpu.h
+++ b/arch/powerpc/include/asm/percpu.h
@@ -23,7 +23,7 @@ DECLARE_STATIC_KEY_FALSE(__percpu_first_chunk_is_paged);
(static_key_enabled(&__percpu_first_chunk_is_paged.key))
#else
#define percpu_first_chunk_is_paged false
-#endif /* CONFIG_PPC64 && CONFIG_SMP */
+#endif
#include <asm-generic/percpu.h>