mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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>
This commit is contained in:
1 parent
50a72e5d2d
commit
f4eda9b01b
1 file changed
+2
-1
@@ -174,7 +174,6 @@ struct cpuinfo_x86 {
|
||||
*/
|
||||
|
||||
extern struct cpuinfo_x86 boot_cpu_data;
|
||||
extern struct tss_struct init_tss[NR_CPUS];
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
extern struct cpuinfo_x86 cpu_data[];
|
||||
@@ -383,6 +382,8 @@ struct tss_struct {
|
||||
extern idt_entry_t idt_table[];
|
||||
extern idt_entry_t *idt_tables[];
|
||||
|
||||
extern struct tss_struct init_tss[NR_CPUS];
|
||||
|
||||
#ifdef ARCH_HAS_FAST_TRAP
|
||||
|
||||
#define SET_DEFAULT_FAST_TRAP(_p) \
|
||||
|
||||