Skip to contentSkip to conversation

x86: add forward decl for tss_struct

PATCH New Jeremy Fitzhardinge 1 participant 1 message Feb 27, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 x86: add forward decl for tss_struct

Its the correct thing to do before using the struct in a prototype.

arch/x86/include/asm/system.h +0 -0
index 1a7bf39..643c59b 100644
@@ -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);