Rename PCB_USER_FPU to PCB_USERFPU not to clash with a macro from fpu.h.

This commit is contained in:
Jung-uk Kim 2010-07-29 16:41:21 +00:00
parent 9e7839f632
commit 39381048f0
3 changed files with 3 additions and 3 deletions

View File

@ -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. */

View File

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

View File

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