x86: limit amount of INT3 in IND_THUNK_*
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Apr 2021 07:17:04 +0000 (09:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Apr 2021 07:17:04 +0000 (09:17 +0200)
commit9689b1acab71adc2bcc07b3e23c141907dd9ecb8
tree4ade7156cfa4428db59a9c5e4b2aa589b133ec99
parent71b0b475d801ebeb83a6ba402425135c314fa2df
x86: limit amount of INT3 in IND_THUNK_*

There's no point having every replacement variant to also specify the
INT3 - just have it once in the base macro. When patching, NOPs will get
inserted, which are fine to speculate through (until reaching the INT3).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/indirect-thunk.S