diff options
author | Tim Schmielau <tim@physik3.uni-rostock.de> | 2005-11-07 03:59:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:41 -0500 |
commit | 8c65b4a60450590e79a28e9717ceffa9e4debb3f (patch) | |
tree | e0e42b5faee0a1c44746a36d9df7a8fbb2a2c24c /include/asm-sh | |
parent | 6fdcc2162285a8fc96ab12ff85086c37bceaa494 (diff) |
[PATCH] fix remaining missing includes
Fix more include file problems that surfaced since I submitted the previous
fix-missing-includes.patch. This should now allow not to include sched.h
from module.h, which is done by a followup patch.
Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r-- | include/asm-sh/elf.h | 1 | ||||
-rw-r--r-- | include/asm-sh/pgtable.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sh/elf.h b/include/asm-sh/elf.h index 8fe00a1981ce..1b63dfeea4f2 100644 --- a/include/asm-sh/elf.h +++ b/include/asm-sh/elf.h | |||
@@ -111,6 +111,7 @@ typedef struct user_fpu_struct elf_fpregset_t; | |||
111 | 111 | ||
112 | #ifdef __KERNEL__ | 112 | #ifdef __KERNEL__ |
113 | #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT) | 113 | #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT) |
114 | struct task_struct; | ||
114 | extern int dump_task_regs (struct task_struct *, elf_gregset_t *); | 115 | extern int dump_task_regs (struct task_struct *, elf_gregset_t *); |
115 | extern int dump_task_fpu (struct task_struct *, elf_fpregset_t *); | 116 | extern int dump_task_fpu (struct task_struct *, elf_fpregset_t *); |
116 | 117 | ||
diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h index dee36bcbcf98..bb0efb31a8cb 100644 --- a/include/asm-sh/pgtable.h +++ b/include/asm-sh/pgtable.h | |||
@@ -284,6 +284,8 @@ typedef pte_t *pte_addr_t; | |||
284 | #define GET_IOSPACE(pfn) 0 | 284 | #define GET_IOSPACE(pfn) 0 |
285 | #define GET_PFN(pfn) (pfn) | 285 | #define GET_PFN(pfn) (pfn) |
286 | 286 | ||
287 | struct mm_struct; | ||
288 | |||
287 | /* | 289 | /* |
288 | * No page table caches to initialise | 290 | * No page table caches to initialise |
289 | */ | 291 | */ |