summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-06-12 10:42:23 +0200
committerSimon Horman <horms+renesas@verge.net.au>2014-06-17 19:33:22 +0900
commitb69f47c00f2eff19b532cf0142d81b993e587bf0 (patch)
treedb0a713ca223bf0788c565da1569266196f9f8ad /arch/arm/mach-shmobile
parent83850b04ae7744f51681533fb7afb645e66ce8fe (diff)
ARM: shmobile: rcar-gen2: Use "1ULL" instead of "(u64)1"
Casts are evil Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/setup-rcar-gen2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c
index b0626f89d7a6..51d572306e1a 100644
--- a/arch/arm/mach-shmobile/setup-rcar-gen2.c
+++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c
@@ -126,7 +126,7 @@ static int __init rcar_gen2_scan_mem(unsigned long node, const char *uname,
const __be32 *reg, *endp;
int l;
struct memory_reserve_config *mrc = data;
- u64 lpae_start = (u64)1 << 32;
+ u64 lpae_start = 1ULL << 32;
/* We are scanning "memory" nodes only */
if (type == NULL) {