ia64/xen-unstable

changeset 3986:807238e9d9f4

bitkeeper revision 1.1236.1.57 (422826c66IM1rOTAlb2AHZ3oXvqO-A)

GCC4 fix. Define tss_struct before declaring an array.
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
author kaf24@firebug.cl.cam.ac.uk
date Fri Mar 04 09:13:42 2005 +0000 (2005-03-04)
parents 0914061e11ca
children b3cd6b3aa702 50e01d9d33a7
files xen/include/asm-x86/processor.h
line diff
     1.1 --- a/xen/include/asm-x86/processor.h	Fri Mar 04 00:58:28 2005 +0000
     1.2 +++ b/xen/include/asm-x86/processor.h	Fri Mar 04 09:13:42 2005 +0000
     1.3 @@ -174,7 +174,6 @@ struct cpuinfo_x86 {
     1.4   */
     1.5  
     1.6  extern struct cpuinfo_x86 boot_cpu_data;
     1.7 -extern struct tss_struct init_tss[NR_CPUS];
     1.8  
     1.9  #ifdef CONFIG_SMP
    1.10  extern struct cpuinfo_x86 cpu_data[];
    1.11 @@ -383,6 +382,8 @@ struct tss_struct {
    1.12  extern idt_entry_t idt_table[];
    1.13  extern idt_entry_t *idt_tables[];
    1.14  
    1.15 +extern struct tss_struct init_tss[NR_CPUS];
    1.16 +
    1.17  #ifdef ARCH_HAS_FAST_TRAP
    1.18  
    1.19  #define SET_DEFAULT_FAST_TRAP(_p) \