diff options
-rw-r--r-- | sys/amd64/include/pcpu.h | 4 | ||||
-rw-r--r-- | sys/i386/include/globaldata.h | 4 | ||||
-rw-r--r-- | sys/i386/include/pcpu.h | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/sys/amd64/include/pcpu.h b/sys/amd64/include/pcpu.h index 440da60b4b83..ace3602a2844 100644 --- a/sys/amd64/include/pcpu.h +++ b/sys/amd64/include/pcpu.h @@ -65,9 +65,7 @@ struct globaldata { int gd_intr_nesting_level; struct segment_descriptor gd_common_tssd; struct segment_descriptor *gd_tss_gdt; -#ifdef USER_LDT - int gd_currentldt; -#endif + int gd_currentldt; /* only used for USER_LDT */ #ifdef SMP u_int gd_cpuid; u_int gd_cpu_lockid; diff --git a/sys/i386/include/globaldata.h b/sys/i386/include/globaldata.h index 440da60b4b83..ace3602a2844 100644 --- a/sys/i386/include/globaldata.h +++ b/sys/i386/include/globaldata.h @@ -65,9 +65,7 @@ struct globaldata { int gd_intr_nesting_level; struct segment_descriptor gd_common_tssd; struct segment_descriptor *gd_tss_gdt; -#ifdef USER_LDT - int gd_currentldt; -#endif + int gd_currentldt; /* only used for USER_LDT */ #ifdef SMP u_int gd_cpuid; u_int gd_cpu_lockid; diff --git a/sys/i386/include/pcpu.h b/sys/i386/include/pcpu.h index 440da60b4b83..ace3602a2844 100644 --- a/sys/i386/include/pcpu.h +++ b/sys/i386/include/pcpu.h @@ -65,9 +65,7 @@ struct globaldata { int gd_intr_nesting_level; struct segment_descriptor gd_common_tssd; struct segment_descriptor *gd_tss_gdt; -#ifdef USER_LDT - int gd_currentldt; -#endif + int gd_currentldt; /* only used for USER_LDT */ #ifdef SMP u_int gd_cpuid; u_int gd_cpu_lockid; |