pcb_gs32sd is unused for long time, remove it. Keep the padding in pcb.
Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
This commit is contained in:
parent
c2adbeaaac
commit
d9008978c8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284921
@ -146,7 +146,6 @@ ASSYM(PCB_LDT, offsetof(struct pcb, pcb_ldt));
|
||||
ASSYM(PCB_TR, offsetof(struct pcb, pcb_tr));
|
||||
ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
|
||||
ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
|
||||
ASSYM(PCB_GS32SD, offsetof(struct pcb, pcb_gs32sd));
|
||||
ASSYM(PCB_TSSP, offsetof(struct pcb, pcb_tssp));
|
||||
ASSYM(PCB_SAVEFPU, offsetof(struct pcb, pcb_save));
|
||||
ASSYM(PCB_EFER, offsetof(struct pcb, pcb_efer));
|
||||
|
@ -85,8 +85,7 @@ struct pcb {
|
||||
/* copyin/out fault recovery */
|
||||
caddr_t pcb_onfault;
|
||||
|
||||
/* 32-bit segment descriptor */
|
||||
struct user_segment_descriptor pcb_gs32sd;
|
||||
uint64_t pcb_pad0;
|
||||
|
||||
/* local tss, with i/o bitmap; NULL for common */
|
||||
struct amd64tss *pcb_tssp;
|
||||
|
@ -426,7 +426,6 @@ linux_set_cloned_tls(struct thread *td, void *desc)
|
||||
#endif
|
||||
pcb = td->td_pcb;
|
||||
pcb->pcb_gsbase = (register_t)info.base_addr;
|
||||
/* XXXKIB pcb->pcb_gs32sd = sd; */
|
||||
td->td_frame->tf_gs = GSEL(GUGS32_SEL, SEL_UPL);
|
||||
set_pcb_flags(pcb, PCB_32BIT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user