mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
389d1fb11e
commit
2fb6b2a048
|
@ -20,6 +20,7 @@
|
||||||
struct task_struct; /* one of the stranger aspects of C forward declarations */
|
struct task_struct; /* one of the stranger aspects of C forward declarations */
|
||||||
struct task_struct *__switch_to(struct task_struct *prev,
|
struct task_struct *__switch_to(struct task_struct *prev,
|
||||||
struct task_struct *next);
|
struct task_struct *next);
|
||||||
|
struct tss_struct;
|
||||||
void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p,
|
void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p,
|
||||||
struct tss_struct *tss);
|
struct tss_struct *tss);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue