-#define simple_lock(l) fast_usimple_lock(l)
-#define simple_unlock(l) fast_usimple_unlock(l)
-#define simple_lock_try(l) fast_usimple_lock_try(l)
-#define simple_lock_addr(l) (&(l))
+#define MACHINE_SIMPLE_LOCK
+
+#define simple_lock_init(l,t) ppc_usimple_lock_init(l,t)
+#define simple_lock(l) ppc_usimple_lock(l)
+#define simple_unlock(l) ppc_usimple_unlock_rwcmb(l)
+#define simple_unlock_rwmb(l) ppc_usimple_unlock_rwmb(l)
+#define simple_lock_try(l) ppc_usimple_lock_try(l)
+#define simple_lock_addr(l) (&(l))