diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 07:31:31 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:31 -0500 |
commit | ca241c75037b32e0216a68e39ad2801d04fa1f87 (patch) | |
tree | be6b42124c9ead67999ee7ec810f9b1f1e25675d /arch/x86/kernel/setup64.c | |
parent | 0ccb8acc51693a2aef0f38024943808046d81251 (diff) |
x86: unify tss_struct
Although slighly different, the tss_struct is very similar in x86_64 and
i386. The really different part, which matchs the hardware vision of it, is
now called x86_hw_tss, and each of the architectures provides yours.
It's then used as a field in the outter tss_struct.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/setup64.c')
-rw-r--r-- | arch/x86/kernel/setup64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup64.c b/arch/x86/kernel/setup64.c index 05cafcb94109..3b0ffa31f3c0 100644 --- a/arch/x86/kernel/setup64.c +++ b/arch/x86/kernel/setup64.c | |||
@@ -258,10 +258,10 @@ void __cpuinit cpu_init (void) | |||
258 | v, cpu); | 258 | v, cpu); |
259 | } | 259 | } |
260 | estacks += PAGE_SIZE << order[v]; | 260 | estacks += PAGE_SIZE << order[v]; |
261 | orig_ist->ist[v] = t->ist[v] = (unsigned long)estacks; | 261 | orig_ist->ist[v] = t->x86_tss.ist[v] = (unsigned long)estacks; |
262 | } | 262 | } |
263 | 263 | ||
264 | t->io_bitmap_base = offsetof(struct tss_struct, io_bitmap); | 264 | t->x86_tss.io_bitmap_base = offsetof(struct tss_struct, io_bitmap); |
265 | /* | 265 | /* |
266 | * <= is required because the CPU will access up to | 266 | * <= is required because the CPU will access up to |
267 | * 8 bits beyond the end of the IO permission bitmap. | 267 | * 8 bits beyond the end of the IO permission bitmap. |