Skip to content

Commit

Permalink
um: Fix tag order in stub_32.h
Browse files Browse the repository at this point in the history
"static void inline" is the wrong way around, fix that.

Reported-by: kernel test robot <[email protected]>
Fixes: 9f0b480 ("um: rework userspace stubs to not hard-code stub location")
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
  • Loading branch information
jmberg-intel authored and richardweinberger committed Apr 15, 2021
1 parent d434405 commit dc01a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/um/shared/sysdep/stub_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;"
Expand Down

0 comments on commit dc01a3b

Please sign in to comment.