view lib/locking-selftest-wsem.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
line source
1 #undef LOCK
2 #define LOCK WSL
4 #undef UNLOCK
5 #define UNLOCK WSU
7 #undef RLOCK
8 #define RLOCK RSL
10 #undef WLOCK
11 #define WLOCK WSL
13 #undef INIT
14 #define INIT RWSI