Rename PCB_USER_FPU to PCB_USERFPU not to clash with a macro from fpu.h.
This commit is contained in:
parent
9e7839f632
commit
39381048f0
@ -156,7 +156,7 @@ ENTRY(acpi_restorecpu)
|
||||
movq PCPU(FPCURTHREAD), %rax
|
||||
testq %rax, %rax
|
||||
je 1f
|
||||
fxrstor WAKEUP_PCB(USER_FPU)
|
||||
fxrstor WAKEUP_PCB(USERFPU)
|
||||
1:
|
||||
|
||||
/* Restore CR0 with FPU mode. */
|
||||
|
@ -421,7 +421,7 @@ ENTRY(savectx2)
|
||||
testq %rax,%rax
|
||||
je 1f
|
||||
clts
|
||||
fxsave PCB_USER_FPU(%r8)
|
||||
fxsave PCB_USERFPU(%r8)
|
||||
1:
|
||||
|
||||
movl $1, %eax
|
||||
|
@ -140,7 +140,7 @@ ASSYM(PCB_DR2, offsetof(struct pcb, pcb_dr2));
|
||||
ASSYM(PCB_DR3, offsetof(struct pcb, pcb_dr3));
|
||||
ASSYM(PCB_DR6, offsetof(struct pcb, pcb_dr6));
|
||||
ASSYM(PCB_DR7, offsetof(struct pcb, pcb_dr7));
|
||||
ASSYM(PCB_USER_FPU, offsetof(struct pcb, pcb_user_save));
|
||||
ASSYM(PCB_USERFPU, offsetof(struct pcb, pcb_user_save));
|
||||
ASSYM(PCB_TSSP, offsetof(struct pcb, pcb_tssp));
|
||||
ASSYM(PCB_FULL_IRET, offsetof(struct pcb, pcb_full_iret));
|
||||
ASSYM(PCB_DBREGS, PCB_DBREGS);
|
||||
|
Loading…
Reference in New Issue
Block a user