This is needed to compile xen with clang.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
int apic1, pin1, apic2, pin2;
int vector, ret;
unsigned long flags;
+ cpumask_t mask_all = CPU_MASK_ALL;
local_irq_save(flags);
vector = FIRST_HIPRIORITY_VECTOR;
clear_irq_vector(0);
- if ((ret = bind_irq_vector(0, vector, (cpumask_t)CPU_MASK_ALL)))
+ if ((ret = bind_irq_vector(0, vector, mask_all)))
printk(KERN_ERR"..IRQ0 is not set correctly with ioapic!!!, err:%d\n", ret);
irq_desc[0].depth = 0;
#define CPU_MASK_NONE \
/*(cpumask_t)*/ { { \
- [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
+ 0UL \
} }
#define CPU_MASK_CPU0 \