x86: reduce irq_cpustat_t's __softirq_pending to 32 bits
authorJan Beulich <jbeulich@suse.com>
Mon, 4 Mar 2013 09:22:10 +0000 (10:22 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 4 Mar 2013 09:22:10 +0000 (10:22 +0100)
Assembly code was already only accessing the low 32 bits of it, and
we're far away from using all 32 bits of it.

Noticed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/include/asm-x86/hardirq.h

index 5b9d18b8754565083d253806167bc4309fb75777..e573007b8ac804f0cbdbe5dbc61a3c8844ecaf41 100644 (file)
@@ -5,7 +5,7 @@
 #include <xen/cache.h>
 
 typedef struct {
-       unsigned long __softirq_pending;
+       unsigned int __softirq_pending;
        unsigned int __local_irq_count;
        unsigned int __nmi_count;
        bool_t __mwait_wakeup;