[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [POWERPC][XEN] cpu_relax() needs to call barrier()
# HG changeset patch # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx> # Node ID 768bf8f273fb67ceb4351472b91c2bd7c82cbc62 # Parent b4594f072a893c0f3d3d20a4315c847b74bbac25 [POWERPC][XEN] cpu_relax() needs to call barrier() Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx> Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> --- xen/include/asm-powerpc/processor.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r b4594f072a89 -r 768bf8f273fb xen/include/asm-powerpc/processor.h --- a/xen/include/asm-powerpc/processor.h Mon Nov 27 17:17:07 2006 -0500 +++ b/xen/include/asm-powerpc/processor.h Tue Nov 28 10:33:53 2006 -0500 @@ -152,7 +152,8 @@ static inline void nop(void) { static inline void nop(void) { __asm__ __volatile__ ("nop"); } -#define cpu_relax() nop() +/* will need to address thread priorities when we go SMT */ +#define cpu_relax() barrier() static inline unsigned int mfpir(void) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |