]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit254da5f357beb77583383d95f99245c940bd3d49
treeaf48b2029b9b065d25f8afcca4079bb392883d2d
parent6f5f2945f3d99b92ad158b09eb9b52779d8ab2c4
x86/entry: Mark check_user_regs() noinstr

It's called from the non-instrumentable section.

Fixes: 4325f5617a5e ("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