x86/entry: Fix instrumentation annotation
authorThomas Gleixner <tglx@linutronix.de>
Tue, 9 Feb 2021 23:40:42 +0000 (00:40 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 10 Feb 2021 22:34:13 +0000 (23:34 +0100)
commit15f720aabe71a5662c4198b22532d95bbeec80ef
treeec09e4b7bac25d111c9cbff5092244c5c459c932
parent4dc1d28ce29086aaa38b8bc8b20329a21ba5df85
x86/entry: Fix instrumentation annotation

Embracing a callout into instrumentation_begin() / instrumentation_begin()
does not really make sense. Make the latter instrumentation_end().

Fixes: 2f6474e4636b ("x86/entry: Switch XEN/PV hypercall entry to IDTENTRY")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210210002512.106502464@linutronix.de
arch/x86/entry/common.c