Skip to content

Commit

Permalink
x86: add forward decl for tss_struct
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jsgf authored and Ingo Molnar committed Mar 2, 2009
1 parent 389d1fb commit 2fb6b2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/include/asm/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2fb6b2a

Please sign in to comment.