ia64/xen-unstable

changeset 14262:f71157f1f1a0

linux/x86_64 2.6.18: remove orig_ist

orig_ist is bound to presence of a TSS, hence is meaningless on Xen
kernels.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Mon Mar 05 15:04:28 2007 +0000 (2007-03-05)
parents 7a39b1e22373
children 56760c1de102
files linux-2.6-xen-sparse/arch/x86_64/kernel/init_task.c linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/processor.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/x86_64/kernel/init_task.c	Mon Mar 05 14:39:03 2007 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/init_task.c	Mon Mar 05 15:04:28 2007 +0000
     1.3 @@ -47,11 +47,11 @@ EXPORT_SYMBOL(init_task);
     1.4   * on exact cacheline boundaries, to eliminate cacheline ping-pong.
     1.5   */ 
     1.6  DEFINE_PER_CPU(struct tss_struct, init_tss) ____cacheline_internodealigned_in_smp = INIT_TSS;
     1.7 -#endif
     1.8  
     1.9  /* Copies of the original ist values from the tss are only accessed during
    1.10   * debugging, no special alignment required.
    1.11   */
    1.12  DEFINE_PER_CPU(struct orig_ist, orig_ist);
    1.13 +#endif
    1.14  
    1.15  #define ALIGN_TO_4K __attribute__((section(".data.init_task")))
     2.1 --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/processor.h	Mon Mar 05 14:39:03 2007 +0000
     2.2 +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/processor.h	Mon Mar 05 15:04:28 2007 +0000
     2.3 @@ -246,11 +246,13 @@ DECLARE_PER_CPU(struct tss_struct,init_t
     2.4  
     2.5  
     2.6  extern struct cpuinfo_x86 boot_cpu_data;
     2.7 +#ifndef CONFIG_X86_NO_TSS
     2.8  /* Save the original ist values for checking stack pointers during debugging */
     2.9  struct orig_ist {
    2.10  	unsigned long ist[7];
    2.11  };
    2.12  DECLARE_PER_CPU(struct orig_ist, orig_ist);
    2.13 +#endif
    2.14  
    2.15  #ifdef CONFIG_X86_VSMP
    2.16  #define ARCH_MIN_TASKALIGN	(1 << INTERNODE_CACHE_SHIFT)