From e58ffeb322e2ef88cc23e9505366418bf793316d Mon Sep 17 00:00:00 2001 From: malc Date: Wed, 14 Jan 2009 18:39:49 +0000 Subject: Remove all traces of __powerpc__ According to $GCC/gcc/config/rs6000/rs6000-c.c _ARCH_PPC is the ubiquitous define which should be used to test whether gcc targets PowerPC, on 64bit platforms _ARCH_PPC64 will be also defined. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6301 c046a42c-6fe2-441c-8c8c-71466251a162 --- qemu-lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu-lock.h') diff --git a/qemu-lock.h b/qemu-lock.h index afd2d5f..26661ba 100644 --- a/qemu-lock.h +++ b/qemu-lock.h @@ -58,7 +58,7 @@ static inline void resetlock (spinlock_t *p) #endif -#if defined(__powerpc__) +#if defined(_ARCH_PPC) static inline int testandset (int *p) { int ret; -- cgit v1.1