aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-27 13:25:33 -0800
committerIngo Molnar <mingo@elte.hu>2009-03-02 12:07:49 +0100
commit2fb6b2a048ed8fa3f049c7d42f7a2dd3f0c8d7a6 (patch)
tree9ff0ee90d167ec638dc494e89963d69b0e3dbb0c /arch/x86/include
parentx86: unify chunks of kernel/process*.c (diff)
downloadlinux-dev-2fb6b2a048ed8fa3f049c7d42f7a2dd3f0c8d7a6.tar.xz
linux-dev-2fb6b2a048ed8fa3f049c7d42f7a2dd3f0c8d7a6.zip
x86: add forward decl for tss_struct
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/system.h b/arch/x86/include/asm/system.h
index 1a7bf39f72dc..643c59b4bc6e 100644
--- a/arch/x86/include/asm/system.h
+++ b/arch/x86/include/asm/system.h
@@ -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);