summaryrefslogtreecommitdiffstats
path: root/arch/x86/um
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-02-23 10:44:08 +0100
committerRichard Weinberger <richard@nod.at>2021-04-15 23:06:37 +0200
commitdc01a3b9db43abf95b801c9694980777a329e303 (patch)
tree3f91348c11f6cc21cf0b60329efc3b416f81e8f3 /arch/x86/um
parentd434405aaab7d0ebc516b68a8fc4100922d7f5ef (diff)
downloadlinux-stable-dc01a3b9db43abf95b801c9694980777a329e303.tar.gz
linux-stable-dc01a3b9db43abf95b801c9694980777a329e303.tar.bz2
linux-stable-dc01a3b9db43abf95b801c9694980777a329e303.zip
um: Fix tag order in stub_32.h
"static void inline" is the wrong way around, fix that. Reported-by: kernel test robot <lkp@intel.com> Fixes: 9f0b4807a44f ("um: rework userspace stubs to not hard-code stub location") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um')
-rw-r--r--arch/x86/um/shared/sysdep/stub_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/shared/sysdep/stub_32.h b/arch/x86/um/shared/sysdep/stub_32.h
index c3891c1ada26..b95db9daf0e8 100644
--- a/arch/x86/um/shared/sysdep/stub_32.h
+++ b/arch/x86/um/shared/sysdep/stub_32.h
@@ -77,7 +77,7 @@ static inline void trap_myself(void)
__asm("int3");
}
-static void inline remap_stack_and_trap(void)
+static inline void remap_stack_and_trap(void)
{
__asm__ volatile (
"movl %%esp,%%ebx ;"