projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
389d1fb
)
x86: add forward decl for tss_struct
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Fri, 27 Feb 2009 21:25:33 +0000
(13:25 -0800)
committer
Ingo 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/system.h
b/arch/x86/include/asm/system.h
index 1a7bf39f72dca93ebc6cebb938f9225afade415e..643c59b4bc6ea133aa19244ce02bd00be342d7d1 100644
(file)
--- 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);