x86/alternative: introduce alternative_2
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 7 Jul 2020 12:39:25 +0000 (14:39 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2020 12:39:25 +0000 (14:39 +0200)
commit23570bce00ee6ba2139ece978ab6f03ff166e21d
tree4191ef74a47393ccc81a9a5f3398020d9cae5a60
parentb6d9398144f21718d25daaf8d72669a75592abc5
x86/alternative: introduce alternative_2

It's based on alternative_io_2 without inputs or outputs but with an
added memory clobber.

This is part of XSA-321.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/alternative.h