File 552d0fe8-x86-mtrr-include-asm-atomic.h.patch of Package xen.openSUSE_Leap_42.1_Update
# Commit f70df9ec1ab72b6bbebad72d81109c1b214007e1 # Date 2015-04-14 15:02:32 +0200 # Author David Vrabel <david.vrabel@citrix.com> # Committer Jan Beulich <jbeulich@suse.com> x86/mtrr: include asm/atomic.h asm/atomic.h is needed but only included indirectly via asm/spinlock.h. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> --- a/xen/arch/x86/cpu/mtrr/main.c +++ b/xen/arch/x86/cpu/mtrr/main.c @@ -36,6 +36,7 @@ #include <xen/lib.h> #include <xen/smp.h> #include <xen/spinlock.h> +#include <asm/atomic.h> #include <asm/mtrr.h> #include <asm/uaccess.h> #include <asm/processor.h>