summaryrefslogtreecommitdiff
path: root/boehm-gc/include/private/gc_locks.h
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/include/private/gc_locks.h')
-rw-r--r--boehm-gc/include/private/gc_locks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/include/private/gc_locks.h b/boehm-gc/include/private/gc_locks.h
index 1faf2d3d209..4e2b641b78b 100644
--- a/boehm-gc/include/private/gc_locks.h
+++ b/boehm-gc/include/private/gc_locks.h
@@ -139,7 +139,7 @@
# define GC_TEST_AND_SET_DEFINED
# endif
# if defined(POWERPC)
-# if CPP_WORDSZ == 64
+# if 0 /* CPP_WORDSZ == 64 totally broken to use int locks with ldarx */
inline static int GC_test_and_set(volatile unsigned int *addr) {
unsigned long oldval;
unsigned long temp = 1; /* locked value */