ia64/linux-2.6.18-xen.hg

annotate lib/locking-selftest-softirq.h @ 871:9cbcc9008446

xen/x86: don't initialize cpu_data[]'s apicid field on generic code

Afaict, this is not only redundant with the intialization done in
drivers/xen/core/smpboot.c, but actually results - at least for
secondary CPUs - in the Xen-specific value written to be later
overwritten with whatever the generic code determines (with no
guarantee that the two values are identical).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu May 14 10:09:15 2009 +0100 (2009-05-14)
parents 831230e53067
children
rev   line source
ian@0 1 #undef IRQ_DISABLE
ian@0 2 #undef IRQ_ENABLE
ian@0 3 #undef IRQ_ENTER
ian@0 4 #undef IRQ_EXIT
ian@0 5
ian@0 6 #define IRQ_DISABLE SOFTIRQ_DISABLE
ian@0 7 #define IRQ_ENABLE SOFTIRQ_ENABLE
ian@0 8 #define IRQ_ENTER SOFTIRQ_ENTER
ian@0 9 #define IRQ_EXIT SOFTIRQ_EXIT