1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Make the gd_currentldt member in struct globaldata unconditional so

that this header doesn't depend on USER_LDT.  This fixes the USER_LDT
breakage with SMP kernels.
This commit is contained in:
John Baldwin 2000-10-05 20:30:36 +00:00
parent 1219828400
commit d238b83315
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66692
3 changed files with 3 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;