aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/globaldata.h
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2001-01-21 19:25:07 +0000
committerJake Burkholder <jake@FreeBSD.org>2001-01-21 19:25:07 +0000
commita448b62ac998ab4ae5e85fc7235cbb5c5dbe60ef (patch)
treea8fab5ee465b0d67b785fe50774997a21db3fdd5 /sys/i386/include/globaldata.h
parent96b15e09d91b60bbe41d2a3ff239e9a38022ab57 (diff)
Make intr_nesting_level per-process, rather than per-cpu. Setup
interrupt threads to run with it always >= 1, so that malloc can detect M_WAITOK from "interrupt" context. This is also necessary in order to context switch from sched_ithd() directly. Reviewed By: peter
Notes
Notes: svn path=/head/; revision=71337
Diffstat (limited to 'sys/i386/include/globaldata.h')
-rw-r--r--sys/i386/include/globaldata.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/i386/include/globaldata.h b/sys/i386/include/globaldata.h
index 149026e450c7..7a7437a6e7ef 100644
--- a/sys/i386/include/globaldata.h
+++ b/sys/i386/include/globaldata.h
@@ -58,8 +58,6 @@ struct globaldata {
struct timeval gd_switchtime;
struct i386tss gd_common_tss;
int gd_switchticks;
- u_char gd_intr_nesting_level;
- u_char gd_pad0[3];
struct segment_descriptor gd_common_tssd;
struct segment_descriptor *gd_tss_gdt;
int gd_currentldt; /* only used for USER_LDT */