diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-09-27 10:00:54 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-27 10:10:58 +0100 |
commit | 456335e2072fb35bf290b45e61d51916c322c145 (patch) | |
tree | 985fddceeeff3e3a8cbbff33a8130fc31637ec8d /include | |
parent | c06015148fa9a3cc452ec7121b8c3f59f4a7d6ac (diff) |
[ARM] Separate page table manipulation code from bootmem initialisation
nommu does not require the page table manipulation code in the
bootmem initialisation paths. Move this into separate inline
functions.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/setup.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/asm-arm/setup.h b/include/asm-arm/setup.h index ea3ed2465233..aa4b5782f0c9 100644 --- a/include/asm-arm/setup.h +++ b/include/asm-arm/setup.h @@ -194,13 +194,15 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn } # define NR_BANKS 8 #endif +struct membank { + unsigned long start; + unsigned long size; + int node; +}; + struct meminfo { int nr_banks; - struct { - unsigned long start; - unsigned long size; - int node; - } bank[NR_BANKS]; + struct membank bank[NR_BANKS]; }; /* |