diff mbox series

[-next,v2] powerpc: Remove useless config comment in asm/percpu.h

Message ID 20240807025604.2817577-1-ruanjinjie@huawei.com (mailing list archive)
State Accepted
Commit fa740ca82277b476a49fee83c6fdb023656ef779
Headers show
Series [-next,v2] powerpc: Remove useless config comment in asm/percpu.h | expand

Checks

Context Check Description
snowpatch_ozlabs/github-powerpc_selftests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_ppctests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_sparse success Successfully ran 4 jobs.
snowpatch_ozlabs/github-powerpc_clang success Successfully ran 5 jobs.
snowpatch_ozlabs/github-powerpc_kernel_qemu success Successfully ran 21 jobs.

Commit Message

Jinjie Ruan Aug. 7, 2024, 2:56 a.m. UTC
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>
---
v2:
- Remove instead of change the comment.
---
 arch/powerpc/include/asm/percpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Ellerman Aug. 12, 2024, 12:01 p.m. UTC | #1
On Wed, 07 Aug 2024 10:56:04 +0800, Jinjie Ruan wrote:
> 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.
> 
> 

Applied to powerpc/next.

[1/1] powerpc: Remove useless config comment in asm/percpu.h
      https://git.kernel.org/powerpc/c/fa740ca82277b476a49fee83c6fdb023656ef779

cheers
diff mbox series

Patch

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>