x86: move stac()/clac() from {get,put}_unsafe_asm() ...
authorJan Beulich <jbeulich@suse.com>
Thu, 25 Feb 2021 14:38:35 +0000 (15:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Feb 2021 14:38:35 +0000 (15:38 +0100)
commite0d42bdbbde39522c5730730f18722e5452b700c
treeccdc73d29f190acd6b14158a1b2fb228ce036890
parentd700690a3bf3115d36d055489a0360fd33416e96
x86: move stac()/clac() from {get,put}_unsafe_asm() ...

... to {get,put}_unsafe_size(). There's no need to have the macros
expanded once per case label in the latter. This also makes the former
well-formed single statements again. No change in generated code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
xen/include/asm-x86/uaccess.h