From eddb1f8617eb31dbef5b461dbc989a27453834d0 Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Sat, 29 Dec 2001 07:12:30 +0000 Subject: [PATCH] Rename definitions to better match the hardware wstate fields. Don't include WSTATE_TRANSITION in WSTATE_NORMAL_MASK. --- sys/sparc64/include/wstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sparc64/include/wstate.h b/sys/sparc64/include/wstate.h index ff869539b9ad..cf329734b69e 100644 --- a/sys/sparc64/include/wstate.h +++ b/sys/sparc64/include/wstate.h @@ -84,8 +84,8 @@ #define WSTATE_ASSUME64 2 /* assume 64-bit mode */ #define WSTATE_ASSUME32 3 /* assume 32-bit mode */ -#define WSTATE_MASK 7 /* for WSTATE.NORMAL */ -#define WSTATE_USERSHIFT 3 /* for WSTATE.OTHER / user */ +#define WSTATE_NORMAL_MASK 3 /* wstate normal minus transition */ +#define WSTATE_OTHER_SHIFT 3 /* for wstate other / user */ #define WSTATE_KERNEL 0 /* normal kernel wstate */