Skip to content

Commit bd87e6f

Browse files
committed
x86/entry/common: Make prepare_exit_to_usermode() static
No users outside this file anymore. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Andy Lutomirski <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 006e1ce commit bd87e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/entry/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ static void __prepare_exit_to_usermode(struct pt_regs *regs)
294294
#endif
295295
}
296296

297-
__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
297+
static noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
298298
{
299299
instrumentation_begin();
300300
__prepare_exit_to_usermode(regs);

0 commit comments

Comments
 (0)