diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-08-21 12:06:38 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-20 09:58:35 -0400 |
commit | 1b2e2b73b4c84c918686c04a00724197036c0847 (patch) | |
tree | d0b2d703573dbe5a7f3d6d647b51a3137e039007 /arch/arm/mm/copypage-v6.c | |
parent | e478bec0ba0a83a48a0f6982934b6de079e7e6b3 (diff) |
[ARM] Cleanup arch/arm/mm a little
Move top_pmd into arch/arm/mm/mm.h - nothing outside arch/arm/mm
references it.
Move the repeated definition of TOP_PTE into mm/mm.h, as well as
a few function prototypes.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/copypage-v6.c')
-rw-r--r-- | arch/arm/mm/copypage-v6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/copypage-v6.c b/arch/arm/mm/copypage-v6.c index 269ce6913ee9..3d0d3a963d20 100644 --- a/arch/arm/mm/copypage-v6.c +++ b/arch/arm/mm/copypage-v6.c | |||
@@ -17,6 +17,8 @@ | |||
17 | #include <asm/tlbflush.h> | 17 | #include <asm/tlbflush.h> |
18 | #include <asm/cacheflush.h> | 18 | #include <asm/cacheflush.h> |
19 | 19 | ||
20 | #include "mm.h" | ||
21 | |||
20 | #if SHMLBA > 16384 | 22 | #if SHMLBA > 16384 |
21 | #error FIX ME | 23 | #error FIX ME |
22 | #endif | 24 | #endif |
@@ -24,8 +26,6 @@ | |||
24 | #define from_address (0xffff8000) | 26 | #define from_address (0xffff8000) |
25 | #define to_address (0xffffc000) | 27 | #define to_address (0xffffc000) |
26 | 28 | ||
27 | #define TOP_PTE(x) pte_offset_kernel(top_pmd, x) | ||
28 | |||
29 | static DEFINE_SPINLOCK(v6_lock); | 29 | static DEFINE_SPINLOCK(v6_lock); |
30 | 30 | ||
31 | /* | 31 | /* |