diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-09-30 14:31:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-30 16:34:16 -0400 |
commit | 6c5da7aced798c7781f054a76c769b85f0173561 (patch) | |
tree | a4713f081e16183b6ed00368658ee77bcca83cf6 /arch/arm/include | |
parent | eca73214c9c50e290b8dc823b41730b01788872d (diff) |
[ARM] mm: move vmalloc= parsing to arch/arm/mm/mmu.c
There's no point scattering this around the tree, the parsing
of the parameter might as well live beside the code which uses
it. That also means we can make vmalloc_reserve a static
variable.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/memory.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 7e8d22fef29c..7834adbe1774 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h | |||
@@ -140,14 +140,6 @@ | |||
140 | #endif | 140 | #endif |
141 | 141 | ||
142 | /* | 142 | /* |
143 | * Amount of memory reserved for the vmalloc() area, and minimum | ||
144 | * address for vmalloc mappings. | ||
145 | */ | ||
146 | extern unsigned long vmalloc_reserve; | ||
147 | |||
148 | #define VMALLOC_MIN (void *)(VMALLOC_END - vmalloc_reserve) | ||
149 | |||
150 | /* | ||
151 | * PFNs are used to describe any physical page; this means | 143 | * PFNs are used to describe any physical page; this means |
152 | * PFN 0 == physical address 0. | 144 | * PFN 0 == physical address 0. |
153 | * | 145 | * |