x86/entry: Mark check_user_regs() noinstr
authorThomas Gleixner <tglx@linutronix.de>
Wed, 8 Jul 2020 19:28:06 +0000 (21:28 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Jul 2020 09:18:29 +0000 (11:18 +0200)
commit006e1ced516d2bfd9db63a32b5dba3c2abf43b04
treeaf48b2029b9b065d25f8afcca4079bb392883d2d
parentbce9b042ec73e8662b8119d4ca47e7c78b20d0bf
x86/entry: Mark check_user_regs() noinstr

It's called from the non-instrumentable section.

Fixes: c9c26150e61d ("x86/entry: Assert that syscalls are on the right stack")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200708192934.191497962@linutronix.de
arch/x86/entry/common.c