From: Brian Gerst Date: Fri, 14 Mar 2025 15:12:20 +0000 (-0400) Subject: x86/syscall/32: Add comment to conditional X-Git-Tag: v6.15-rc1~216^2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82070bc0425db949b406ede1c7f066346f5b3eb9;p=thirdparty%2Flinux.git x86/syscall/32: Add comment to conditional Add a CONFIG_X86_FRED comment, since this conditional is nested. Suggested-by: Sohil Mehta Signed-off-by: Brian Gerst Signed-off-by: Ingo Molnar Reviewed-by: Sohil Mehta Cc: Andy Lutomirski Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Josh Poimboeuf Link: https://lore.kernel.org/r/20250314151220.862768-8-brgerst@gmail.com --- diff --git a/arch/x86/entry/syscall_32.c b/arch/x86/entry/syscall_32.c index 993d72504fc59..2b15ea17bb7c5 100644 --- a/arch/x86/entry/syscall_32.c +++ b/arch/x86/entry/syscall_32.c @@ -238,7 +238,8 @@ DEFINE_FREDENTRY_RAW(int80_emulation) instrumentation_end(); syscall_exit_to_user_mode(regs); } -#endif +#endif /* CONFIG_X86_FRED */ + #else /* CONFIG_IA32_EMULATION */ /* Handles int $0x80 on a 32bit kernel */