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-parisc/pgtable.h | |
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-parisc/pgtable.h')
-rw-r--r-- | include/asm-parisc/pgtable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-parisc/pgtable.h b/include/asm-parisc/pgtable.h index c28fb6f48c6c..b4554711c3e7 100644 --- a/include/asm-parisc/pgtable.h +++ b/include/asm-parisc/pgtable.h | |||
@@ -12,6 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/spinlock.h> | 14 | #include <linux/spinlock.h> |
15 | #include <linux/mm.h> /* for vm_area_struct */ | ||
15 | #include <asm/processor.h> | 16 | #include <asm/processor.h> |
16 | #include <asm/cache.h> | 17 | #include <asm/cache.h> |
17 | #include <asm/bitops.h> | 18 | #include <asm/bitops.h> |
@@ -418,7 +419,6 @@ extern void paging_init (void); | |||
418 | 419 | ||
419 | #define PG_dcache_dirty PG_arch_1 | 420 | #define PG_dcache_dirty PG_arch_1 |
420 | 421 | ||
421 | struct vm_area_struct; /* forward declaration (include/linux/mm.h) */ | ||
422 | extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t); | 422 | extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t); |
423 | 423 | ||
424 | /* Encode and de-code a swap entry */ | 424 | /* Encode and de-code a swap entry */ |
@@ -464,6 +464,7 @@ static inline int ptep_test_and_clear_dirty(struct vm_area_struct *vma, unsigned | |||
464 | 464 | ||
465 | extern spinlock_t pa_dbit_lock; | 465 | extern spinlock_t pa_dbit_lock; |
466 | 466 | ||
467 | struct mm_struct; | ||
467 | static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) | 468 | static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) |
468 | { | 469 | { |
469 | pte_t old_pte; | 470 | pte_t old_pte; |