diff options
author | 2025-03-14 11:12:20 -0400 | |
---|---|---|
committer | 2025-03-19 11:19:20 +0100 | |
commit | 82070bc0425db949b406ede1c7f066346f5b3eb9 (patch) | |
tree | 71e16a0ce7d922af7151bf4f0a4e4f2cc1b43433 | |
parent | x86/syscall: Remove stray semicolons (diff) | |
download | wireguard-linux-82070bc0425db949b406ede1c7f066346f5b3eb9.tar.xz wireguard-linux-82070bc0425db949b406ede1c7f066346f5b3eb9.zip |
x86/syscall/32: Add comment to conditional
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
Diffstat (limited to '')
-rw-r--r-- | arch/x86/entry/syscall_32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/entry/syscall_32.c b/arch/x86/entry/syscall_32.c index 993d72504fc5..2b15ea17bb7c 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 */ |