Browse Source

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>
Geert Uytterhoeven 11 years ago
parent
commit
b69f47c00f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-shmobile/setup-rcar-gen2.c

+ 1 - 1
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;
 	const __be32 *reg, *endp;
 	int l;
 	int l;
 	struct memory_reserve_config *mrc = data;
 	struct memory_reserve_config *mrc = data;
-	u64 lpae_start = (u64)1 << 32;
+	u64 lpae_start = 1ULL << 32;
 
 
 	/* We are scanning "memory" nodes only */
 	/* We are scanning "memory" nodes only */
 	if (type == NULL) {
 	if (type == NULL) {