summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/common.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-07-10 11:45:22 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-07-10 11:45:22 +0200
commitbc916e67c0eeb734fa877e63128db3d2352508f4 (patch)
tree530a19cda8cc36f7662d1ed417abd32d1e75cbfd /arch/x86/entry/common.c
parentb037b09b9058d84882fa2c4db3806433e2b0f912 (diff)
parentbd87e6f6610aa96fde01ee6653e162213f7ec836 (diff)
downloadlinux-bc916e67c0eeb734fa877e63128db3d2352508f4.tar.bz2
Merge branch 'x86/urgent' into x86/entry to pick up upstream fixes.
Diffstat (limited to 'arch/x86/entry/common.c')
-rw-r--r--arch/x86/entry/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
index 0521546022cb..4eae4c1f254d 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -46,7 +46,7 @@
#include <trace/events/syscalls.h>
/* Check that the stack and regs on entry from user mode are sane. */
-static void check_user_regs(struct pt_regs *regs)
+static noinstr void check_user_regs(struct pt_regs *regs)
{
if (IS_ENABLED(CONFIG_DEBUG_ENTRY)) {
/*
@@ -294,7 +294,7 @@ static void __prepare_exit_to_usermode(struct pt_regs *regs)
#endif
}
-__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
+static noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
{
instrumentation_begin();
__prepare_exit_to_usermode(regs);