Skip to content

Commit

Permalink
x86/entry: Make enter_from_user_mode() static
Browse files Browse the repository at this point in the history
The ASM users are gone. All callers are local.

Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
KAGA-KOKO committed Jun 11, 2020
1 parent e3e5c64 commit 3b6c9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/entry/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
* 2) Invoke context tracking if enabled to reactivate RCU
* 3) Trace interrupts off state
*/
__visible noinstr void enter_from_user_mode(void)
static noinstr void enter_from_user_mode(void)
{
enum ctx_state state = ct_state();

Expand Down

0 comments on commit 3b6c9bf

Please sign in to comment.