]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: add forward decl for tss_struct
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 27 Feb 2009 21:25:33 +0000 (13:25 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Mar 2009 11:07:49 +0000 (12:07 +0100)
Its the correct thing to do before using the struct in a prototype.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/system.h

index 1a7bf39f72dca93ebc6cebb938f9225afade415e..643c59b4bc6ea133aa19244ce02bd00be342d7d1 100644 (file)
@@ -20,6 +20,7 @@
 struct task_struct; /* one of the stranger aspects of C forward declarations */
 struct task_struct *__switch_to(struct task_struct *prev,
                                struct task_struct *next);
+struct tss_struct;
 void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p,
                      struct tss_struct *tss);