aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/ia32
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2015-03-05 22:19:05 -0500
committerIngo Molnar <mingo@kernel.org>2015-03-06 02:32:58 -0500
commit24933b82c0d9a711475a5ef7904eb733f561e637 (patch)
tree662b18c8ad535c880c2a4d5b0d9e5bb772f78a04 /arch/x86/ia32
parent9d0c914c60f4d3123debb653340dc1f7cf44939d (diff)
x86/asm/entry: Rename 'init_tss' to 'cpu_tss'
It has nothing to do with init -- there's only one TSS per cpu. Other names considered include: - current_tss: Confusing because we never switch the tss. - singleton_tss: Too long. This patch was generated with 's/init_tss/cpu_tss/g'. Followup patches will fix INIT_TSS and INIT_TSS_IST by hand. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/da29fb2a793e4f649d93ce2d1ed320ebe8516262.1425611534.git.luto@amacapital.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/ia32')
-rw-r--r--arch/x86/ia32/ia32entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S
index 719db63b35c4..ad9efef65a6b 100644
--- a/arch/x86/ia32/ia32entry.S
+++ b/arch/x86/ia32/ia32entry.S
@@ -113,7 +113,7 @@ ENTRY(ia32_sysenter_target)
113 CFI_DEF_CFA rsp,0 113 CFI_DEF_CFA rsp,0
114 CFI_REGISTER rsp,rbp 114 CFI_REGISTER rsp,rbp
115 SWAPGS_UNSAFE_STACK 115 SWAPGS_UNSAFE_STACK
116 movq PER_CPU_VAR(init_tss + TSS_sp0), %rsp 116 movq PER_CPU_VAR(cpu_tss + TSS_sp0), %rsp
117 /* 117 /*
118 * No need to follow this irqs on/off section: the syscall 118 * No need to follow this irqs on/off section: the syscall
119 * disabled irqs, here we enable it straight after entry: 119 * disabled irqs, here we enable it straight after entry: