diff options
author | kib <kib@FreeBSD.org> | 2018-01-14 09:33:44 +0000 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-02-19 14:32:32 -0300 |
commit | 242fd9ef5c10f63b2abc67e7479b7c4d83f0f4c3 (patch) | |
tree | f51af1acee602f6055853a65e93332385bb12bf0 /sys | |
parent | 6501017038915547fe361a5ae4ca94ba466d0e4e (diff) | |
download | FreeBSD-src-242fd9ef5c10f63b2abc67e7479b7c4d83f0f4c3.zip FreeBSD-src-242fd9ef5c10f63b2abc67e7479b7c4d83f0f4c3.tar.gz |
MFC r327817:
Rename COMMON_TSS_RSP0 to TSS_RSP0.
(cherry picked from commit 18a2f90a6ea9bb9ba24aa12792dd50864d7fe8c7)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/cpu_switch.S | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/genassym.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S index 56dbc75..6e4ed35 100644 --- a/sys/amd64/amd64/cpu_switch.S +++ b/sys/amd64/amd64/cpu_switch.S @@ -215,7 +215,7 @@ done_tss: movq %r8,PCPU(RSP0) movq %r8,PCPU(CURPCB) /* Update the TSS_RSP0 pointer for the next interrupt */ - movq %r8,COMMON_TSS_RSP0(%rdx) + movq %r8,TSS_RSP0(%rdx) movq %r12,PCPU(CURTHREAD) /* into next thread */ /* Test if debug registers should be restored. */ diff --git a/sys/amd64/amd64/genassym.c b/sys/amd64/amd64/genassym.c index d087fdc..d32db56 100644 --- a/sys/amd64/amd64/genassym.c +++ b/sys/amd64/amd64/genassym.c @@ -157,7 +157,7 @@ ASSYM(PCB_FULL_IRET, PCB_FULL_IRET); ASSYM(PCB_DBREGS, PCB_DBREGS); ASSYM(PCB_32BIT, PCB_32BIT); -ASSYM(COMMON_TSS_RSP0, offsetof(struct amd64tss, tss_rsp0)); +ASSYM(TSS_RSP0, offsetof(struct amd64tss, tss_rsp0)); ASSYM(TF_R15, offsetof(struct trapframe, tf_r15)); ASSYM(TF_R14, offsetof(struct trapframe, tf_r14)); |