]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
x86/syscall/32: Add comment to conditional
authorBrian Gerst <brgerst@gmail.com>
Fri, 14 Mar 2025 15:12:20 +0000 (11:12 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:19:20 +0000 (11:19 +0100)
Add a CONFIG_X86_FRED comment, since this conditional is nested.

Suggested-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20250314151220.862768-8-brgerst@gmail.com
arch/x86/entry/syscall_32.c

index 993d72504fc590503024cbeb7e7796fb48ff8557..2b15ea17bb7c5931a37db9100749e2d5de3810d6 100644 (file)
@@ -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 */