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:
parent
1219828400
commit
d238b83315
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66692
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user