summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pcb.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-01-17 17:49:23 +0000
committerbde <bde@FreeBSD.org>2002-01-17 17:49:23 +0000
commit73ef84f92b1f279c412d03b42c5a5239ffbdfcb2 (patch)
tree2100d26b7e6ca16285349cbf6a1a72c315a1cb67 /sys/amd64/include/pcb.h
parentbabe0aff74bcbfecba512507069d08d63d02bbbc (diff)
downloadFreeBSD-src-73ef84f92b1f279c412d03b42c5a5239ffbdfcb2.zip
FreeBSD-src-73ef84f92b1f279c412d03b42c5a5239ffbdfcb2.tar.gz
Changed the type of pcb_flags from u_char to u_int and adjusted things.
This removes the only atomic operation on a char type in the entire kernel.
Diffstat (limited to 'sys/amd64/include/pcb.h')
-rw-r--r--sys/amd64/include/pcb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index 9eb0f81..d4a375a 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -62,7 +62,7 @@ struct pcb {
int pcb_dr7;
union savefpu pcb_save;
- u_char pcb_flags;
+ u_int pcb_flags;
#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */
#define PCB_DBREGS 0x02 /* process using debug registers */
#define PCB_NPXTRAP 0x04 /* npx trap pending */
OpenPOWER on IntegriCloud