diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-22 15:58:51 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-16 05:57:36 -0400 |
commit | b65b4781fbd5846a82cdac0c32818af1a7452d1f (patch) | |
tree | 532f95a901c0d7dcd1d628e68d7984f09750bb4d /arch/arm/common | |
parent | be370302742ff9948f2a42b15cb2ba174d97b930 (diff) |
ARM: Remove 'node' argument form arch_adjust_zones()
Since we no longer support discontigmem, node is always zero, so
remove this argument.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common')
-rw-r--r-- | arch/arm/common/sa1111.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c index 6f80665f477e..ac2fd440652e 100644 --- a/arch/arm/common/sa1111.c +++ b/arch/arm/common/sa1111.c | |||
@@ -185,13 +185,10 @@ static struct sa1111_dev_info sa1111_devices[] = { | |||
185 | }, | 185 | }, |
186 | }; | 186 | }; |
187 | 187 | ||
188 | void __init sa1111_adjust_zones(int node, unsigned long *size, unsigned long *holes) | 188 | void __init sa1111_adjust_zones(unsigned long *size, unsigned long *holes) |
189 | { | 189 | { |
190 | unsigned int sz = SZ_1M >> PAGE_SHIFT; | 190 | unsigned int sz = SZ_1M >> PAGE_SHIFT; |
191 | 191 | ||
192 | if (node != 0) | ||
193 | sz = 0; | ||
194 | |||
195 | size[1] = size[0] - sz; | 192 | size[1] = size[0] - sz; |
196 | size[0] = sz; | 193 | size[0] = sz; |
197 | } | 194 | } |