* [PATCH] x86/cpu: remove misleading comment
@ 2023-01-13 13:01 Juergen Gross
2023-01-13 13:23 ` [tip: x86/cleanups] x86/cpu: Remove " tip-bot2 for Juergen Gross
0 siblings, 1 reply; 2+ messages in thread
From: Juergen Gross @ 2023-01-13 13:01 UTC (permalink / raw)
To: linux-kernel, x86
Cc: Juergen Gross, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
Dave Hansen, H. Peter Anvin
The comment of the "#endif" after setup_disable_pku() is wrong.
As the related #ifdef is only a few lines above, just remove the
comment.
Signed-off-by: Juergen Gross <jgross@suse.com>
---
arch/x86/kernel/cpu/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 9cfca3d7d0e2..7670397438c6 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -567,7 +567,7 @@ static __init int setup_disable_pku(char *arg)
return 1;
}
__setup("nopku", setup_disable_pku);
-#endif /* CONFIG_X86_64 */
+#endif
#ifdef CONFIG_X86_KERNEL_IBT
--
2.35.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: x86/cleanups] x86/cpu: Remove misleading comment
2023-01-13 13:01 [PATCH] x86/cpu: remove misleading comment Juergen Gross
@ 2023-01-13 13:23 ` tip-bot2 for Juergen Gross
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Juergen Gross @ 2023-01-13 13:23 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Juergen Gross, Ingo Molnar, x86, linux-kernel
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: d55dcb7384b1234d3caf70c2f8199c4184502ff9
Gitweb: https://git.kernel.org/tip/d55dcb7384b1234d3caf70c2f8199c4184502ff9
Author: Juergen Gross <jgross@suse.com>
AuthorDate: Fri, 13 Jan 2023 14:01:26 +01:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Fri, 13 Jan 2023 14:20:20 +01:00
x86/cpu: Remove misleading comment
The comment of the "#endif" after setup_disable_pku() is wrong.
As the related #ifdef is only a few lines above, just remove the
comment.
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230113130126.1966-1-jgross@suse.com
---
arch/x86/kernel/cpu/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 9cfca3d..7670397 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -567,7 +567,7 @@ static __init int setup_disable_pku(char *arg)
return 1;
}
__setup("nopku", setup_disable_pku);
-#endif /* CONFIG_X86_64 */
+#endif
#ifdef CONFIG_X86_KERNEL_IBT
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-13 13:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 13:01 [PATCH] x86/cpu: remove misleading comment Juergen Gross
2023-01-13 13:23 ` [tip: x86/cleanups] x86/cpu: Remove " tip-bot2 for Juergen Gross
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®