x86/CET: Fix build following c/s 43b98e7190
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 30 May 2020 00:41:26 +0000 (01:41 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 30 May 2020 00:56:01 +0000 (01:56 +0100)
commitb586a81b7a90d424b54275c79e759b0294aa2fb6
treeaeb64ce98f1faa99f52775a52d7cc05b851c0b68
parentb60ab42db2f04dcf56ebbfedfb9b0c65a75e4bac
x86/CET: Fix build following c/s 43b98e7190

OSSTest reports:

  x86_64.S: Assembler messages:
  x86_64.S:57: Error: no such instruction: `setssbsy'
  /home/osstest/build.150510.build-amd64/xen/xen/Rules.mk:183: recipe for target 'head.o' failed
  make[4]: Leaving directory '/home/osstest/build.150510.build-amd64/xen/xen/arch/x86/boot'
  make[4]: *** [head.o] Error 1

All use of CET instructions, even those inside alternative blocks, needs to be
behind CONFIG_XEN_SHSTK, as it indicates suitable toolchain support.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/boot/x86_64.S
xen/arch/x86/setup.c
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S