diff --git a/sys/alpha/include/atomic.h b/sys/alpha/include/atomic.h index 93cdbf6b16a3..f5dd718d8661 100644 --- a/sys/alpha/include/atomic.h +++ b/sys/alpha/include/atomic.h @@ -356,7 +356,9 @@ atomic_cmpset_32(volatile u_int32_t* p, u_int32_t cmpval, u_int32_t newval) __asm __volatile ( "1:\tldl_l %0, %4\n\t" /* load old value */ +#ifdef notyet "zapnot %0,0xf,%0\n\t" /* Chop of signed bits */ +#endif "cmpeq %0, %2, %0\n\t" /* compare */ "beq %0, 2f\n\t" /* exit if not equal */ "mov %3, %0\n\t" /* value to store */