diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-07 18:40:33 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-16 11:57:35 +0200 |
commit | be370302742ff9948f2a42b15cb2ba174d97b930 (patch) | |
tree | 977bfa71c1e1483c22a40d85dfd3b233e5ac5d06 /arch/arm/include/asm/setup.h | |
parent | ARM: Precalculate vmalloc_min (diff) | |
download | linux-be370302742ff9948f2a42b15cb2ba174d97b930.tar.xz linux-be370302742ff9948f2a42b15cb2ba174d97b930.zip |
ARM: Remove DISCONTIGMEM support
Everything should now be using sparsemem rather than discontigmem, so
remove the code supporting discontigmem from ARM.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/setup.h')
-rw-r--r-- | arch/arm/include/asm/setup.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/include/asm/setup.h b/arch/arm/include/asm/setup.h index f392fb4437af..f1e5a9bca249 100644 --- a/arch/arm/include/asm/setup.h +++ b/arch/arm/include/asm/setup.h @@ -201,8 +201,7 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn } struct membank { unsigned long start; unsigned long size; - unsigned short node; - unsigned short highmem; + unsigned int highmem; }; struct meminfo { @@ -212,9 +211,8 @@ struct meminfo { extern struct meminfo meminfo; -#define for_each_nodebank(iter,mi,no) \ - for (iter = 0; iter < (mi)->nr_banks; iter++) \ - if ((mi)->bank[iter].node == no) +#define for_each_bank(iter,mi) \ + for (iter = 0; iter < (mi)->nr_banks; iter++) #define bank_pfn_start(bank) __phys_to_pfn((bank)->start) #define bank_pfn_end(bank) __phys_to_pfn((bank)->start + (bank)->size) |