Skip to content

Commit 82070bc

Browse files
Brian GerstIngo Molnar
authored andcommitted
x86/syscall/32: Add comment to conditional
Add a CONFIG_X86_FRED comment, since this conditional is nested. Suggested-by: Sohil Mehta <[email protected]> Signed-off-by: Brian Gerst <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Sohil Mehta <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Josh Poimboeuf <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 6049395 commit 82070bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/x86/entry/syscall_32.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ DEFINE_FREDENTRY_RAW(int80_emulation)
238238
instrumentation_end();
239239
syscall_exit_to_user_mode(regs);
240240
}
241-
#endif
241+
#endif /* CONFIG_X86_FRED */
242+
242243
#else /* CONFIG_IA32_EMULATION */
243244

244245
/* Handles int $0x80 on a 32bit kernel */

0 commit comments

Comments
 (0)