x86: don't rely on __softirq_pending to be the first field in irq_cpustat_t
authorJan Beulich <jbeulich@suse.com>
Mon, 4 Mar 2013 09:20:57 +0000 (10:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 4 Mar 2013 09:20:57 +0000 (10:20 +0100)
commitda46114c1beccf3c5745ce4dbebe6d44bfbd8132
tree73b9c476fe178a70c15929c16fe81f86c193ab59
parentd463b005bbd6475ed930a302821efe239e1b2cf9
x86: don't rely on __softirq_pending to be the first field in irq_cpustat_t

This is even more so as the field doesn't have a comment to that effect
in the structure definition.

Once modifying the respective assembly code, also convert the
IRQSTAT_shift users to do a 32-bit shift only (as we won't support 48M
CPUs any time soon) and use "cmpl" instead of "testl" when checking the
field (both reducing code size).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/svm/entry.S
xen/arch/x86/hvm/vmx/entry.S
xen/arch/x86/x86_64/asm-offsets.c
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S