From 58da1cbc4e39ef1299b188452851487274ca95e3 Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 11 Sep 2000 06:42:50 +0000 Subject: [PATCH] The alpha doesn't have a eflags register, so don't refer to it here. --- sys/alpha/include/mutex.h | 2 -- sys/powerpc/include/mutex.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/sys/alpha/include/mutex.h b/sys/alpha/include/mutex.h index 0cc0ee44d0e2..8109a27494d5 100644 --- a/sys/alpha/include/mutex.h +++ b/sys/alpha/include/mutex.h @@ -496,8 +496,6 @@ _mtx_try_enter(mtx_t *mtxp, int type, const char *file, int line) return rval; } -#define mtx_legal2block() (read_eflags() & 0x200) - /* * Release lock m */ diff --git a/sys/powerpc/include/mutex.h b/sys/powerpc/include/mutex.h index 0cc0ee44d0e2..8109a27494d5 100644 --- a/sys/powerpc/include/mutex.h +++ b/sys/powerpc/include/mutex.h @@ -496,8 +496,6 @@ _mtx_try_enter(mtx_t *mtxp, int type, const char *file, int line) return rval; } -#define mtx_legal2block() (read_eflags() & 0x200) - /* * Release lock m */