ia64/xen-unstable

changeset 12969:768bf8f273fb

[POWERPC][XEN] cpu_relax() needs to call barrier()

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Nov 28 10:33:53 2006 -0500 (2006-11-28)
parents b4594f072a89
children dbc7ea73f5b2
files xen/include/asm-powerpc/processor.h
line diff
     1.1 --- a/xen/include/asm-powerpc/processor.h	Mon Nov 27 17:17:07 2006 -0500
     1.2 +++ b/xen/include/asm-powerpc/processor.h	Tue Nov 28 10:33:53 2006 -0500
     1.3 @@ -152,7 +152,8 @@ static inline ulong mfmsr(void) {
     1.4  static inline void nop(void) {
     1.5      __asm__ __volatile__ ("nop");
     1.6  }
     1.7 -#define cpu_relax() nop()
     1.8 +/* will need to address thread priorities when we go SMT */
     1.9 +#define cpu_relax() barrier()
    1.10  
    1.11  static inline unsigned int mfpir(void)
    1.12  {