x86/capabilities: set/clear them using non-locked bitops
authorJan Beulich <jbeulich@suse.com>
Fri, 16 Oct 2015 15:47:45 +0000 (17:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 16 Oct 2015 15:47:45 +0000 (17:47 +0200)
commitdcaf4e3f531fcc348dcb07c72393e2f6cabdc550
tree6aa2c9d55f6f0c78d6490ab6d5eda68a6725f044
parent684ea31309cf83769836c007da00860b3410ddb7
x86/capabilities: set/clear them using non-locked bitops

Their initialization happens without races, so there's no point in
using atomic (locked) operations to update the respective flags.
(There's one case where the clear_bit() was completely pointless.)

Also drop a neighboring stale comment from AMD code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/apic.c
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpu/centaur.c
xen/arch/x86/cpu/common.c
xen/arch/x86/cpu/intel.c