diff options
Diffstat (limited to 'include/asm-xtensa')
-rw-r--r-- | include/asm-xtensa/elf.h | 2 | ||||
-rw-r--r-- | include/asm-xtensa/pgtable.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-xtensa/elf.h b/include/asm-xtensa/elf.h index 64f1f53874fe..de0667453b2e 100644 --- a/include/asm-xtensa/elf.h +++ b/include/asm-xtensa/elf.h | |||
@@ -209,6 +209,8 @@ extern void xtensa_elf_core_copy_regs (xtensa_gregset_t *, struct pt_regs *); | |||
209 | 209 | ||
210 | #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT) | 210 | #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT) |
211 | 211 | ||
212 | struct task_struct; | ||
213 | |||
212 | extern void do_copy_regs (xtensa_gregset_t*, struct pt_regs*, | 214 | extern void do_copy_regs (xtensa_gregset_t*, struct pt_regs*, |
213 | struct task_struct*); | 215 | struct task_struct*); |
214 | extern void do_restore_regs (xtensa_gregset_t*, struct pt_regs*, | 216 | extern void do_restore_regs (xtensa_gregset_t*, struct pt_regs*, |
diff --git a/include/asm-xtensa/pgtable.h b/include/asm-xtensa/pgtable.h index 987e3b802313..7b15afb70c56 100644 --- a/include/asm-xtensa/pgtable.h +++ b/include/asm-xtensa/pgtable.h | |||
@@ -278,6 +278,8 @@ static inline void update_pte(pte_t *ptep, pte_t pteval) | |||
278 | #endif | 278 | #endif |
279 | } | 279 | } |
280 | 280 | ||
281 | struct mm_struct; | ||
282 | |||
281 | static inline void | 283 | static inline void |
282 | set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pteval) | 284 | set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pteval) |
283 | { | 285 | { |
@@ -294,6 +296,7 @@ set_pmd(pmd_t *pmdp, pmd_t pmdval) | |||
294 | #endif | 296 | #endif |
295 | } | 297 | } |
296 | 298 | ||
299 | struct vm_area_struct; | ||
297 | 300 | ||
298 | static inline int | 301 | static inline int |
299 | ptep_test_and_clear_young(struct vm_area_struct *vma, unsigned long addr, | 302 | ptep_test_and_clear_young(struct vm_area_struct *vma, unsigned long addr, |