xen: Port the array_index_nospec() infrastructure from Linux
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 30 Jul 2018 09:17:27 +0000 (11:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 30 Jul 2018 09:17:27 +0000 (11:17 +0200)
commite932371d6ae0f69b89abb2dce725483c75356de2
tree4cc170ffbb7a037042f9b5f3bdeb72d3dcee15da
parent1fd87ba1cd0312b743a48756a91c6962b1514aac
xen: Port the array_index_nospec() infrastructure from Linux

This is as the infrastructure appeared in Linux 4.17, adapted slightly for
Xen.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
master commit: 2ddfae51d8b1d7b8cd33a4f6ad4d16d27cb869ae
master date: 2018-07-06 16:49:57 +0100
xen/include/asm-arm/arm32/system.h
xen/include/asm-arm/arm64/system.h
xen/include/asm-x86/system.h
xen/include/xen/compiler.h
xen/include/xen/nospec.h [new file with mode: 0644]