diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2013-01-06 21:02:08 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-01-14 18:56:59 -0500 |
commit | a2c1d075e81a3a38236e64571c8d7669a4d3b98b (patch) | |
tree | 5b91a7255a2729902b93fcbebde40d40b0d9810e | |
parent | a19c3b4cf7597529b5213279c186ab85ca2113e3 (diff) |
ARM: mach-shmobile: fix memory size for kota2_defconfig
The CONFIG_MEMORY_SIZE value is interpreted as a 32 bit integer, which
makes sense on a system without PAE. It appears that a trailing 0 was
appended to the value and after some testing it appears that 0x1e000000 is
the correct value.
Without this patch, building kota2_defconfig results in:
/home/arnd/linux-arm/arch/arm/kernel/setup.c:790:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Reported-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/configs/kota2_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/configs/kota2_defconfig b/arch/arm/configs/kota2_defconfig index fa83db1ef0eb..57ad3d47de70 100644 --- a/arch/arm/configs/kota2_defconfig +++ b/arch/arm/configs/kota2_defconfig | |||
@@ -21,7 +21,7 @@ CONFIG_ARCH_SHMOBILE=y | |||
21 | CONFIG_KEYBOARD_GPIO_POLLED=y | 21 | CONFIG_KEYBOARD_GPIO_POLLED=y |
22 | CONFIG_ARCH_SH73A0=y | 22 | CONFIG_ARCH_SH73A0=y |
23 | CONFIG_MACH_KOTA2=y | 23 | CONFIG_MACH_KOTA2=y |
24 | CONFIG_MEMORY_SIZE=0x1e0000000 | 24 | CONFIG_MEMORY_SIZE=0x1e000000 |
25 | # CONFIG_SH_TIMER_TMU is not set | 25 | # CONFIG_SH_TIMER_TMU is not set |
26 | # CONFIG_SWP_EMULATE is not set | 26 | # CONFIG_SWP_EMULATE is not set |
27 | CONFIG_CPU_BPREDICT_DISABLE=y | 27 | CONFIG_CPU_BPREDICT_DISABLE=y |