You need to sign in or sign up before continuing.
提交 3b6c9bf6 编写于 作者: T Thomas Gleixner

x86/entry: Make enter_from_user_mode() static

The ASM users are gone. All callers are local.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NIngo Molnar <mingo@kernel.org>
Acked-by: NAndy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20200521202120.129232680@linutronix.de
上级 e3e5c64e
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
* 2) Invoke context tracking if enabled to reactivate RCU * 2) Invoke context tracking if enabled to reactivate RCU
* 3) Trace interrupts off state * 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(); enum ctx_state state = ct_state();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册