]> xenbits.xensource.com Git - people/dariof/xen.git/commitdiff
x86/smp: unify header includes in smp.h
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 17 Feb 2020 18:43:19 +0000 (19:43 +0100)
committerWei Liu <wl@xen.org>
Tue, 18 Feb 2020 12:33:33 +0000 (12:33 +0000)
Unify the two adjacent header includes that are both gated with ifndef
__ASSEMBLY__.

No functional change intended.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wl@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/smp.h

index 1aa55d41e13839405f1691e61bdbd60609800c9e..92d69a5ea06b49d8eb94a7e9f4855e8cff2555d6 100644 (file)
@@ -5,13 +5,10 @@
  * We need the APIC definitions automatically as part of 'smp.h'
  */
 #ifndef __ASSEMBLY__
+#include <xen/bitops.h>
 #include <xen/kernel.h>
 #include <xen/cpumask.h>
 #include <asm/current.h>
-#endif
-
-#ifndef __ASSEMBLY__
-#include <xen/bitops.h>
 #include <asm/mpspec.h>
 #endif