Skip to contentSkip to conversation

x86/cpu: remove misleading comment

PATCH Applied Juergen Gross 2 participants 2 messages Jan 13, 2023 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/x86/kernel/cpu/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/common.c +1 -1
index 9cfca3d7d0e2..7670397438c6 100644
@@ -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
 
Signature · 1 line
2.35.3
merge bot Applied
#1 lore raw

[tip: x86/cleanups] x86/cpu: Remove misleading comment

The following commit has been merged into the x86/cleanups branch of tip:

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 <[email protected]>
AuthorDate:    Fri, 13 Jan 2023 14:01:26 +01:00
Committer:     Ingo Molnar <[email protected]>
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.

---
 arch/x86/kernel/cpu/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/common.c +1 -1
index 9cfca3d..7670397 100644
@@ -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