ARM: shmobile: rcar-gen2: Use "1ULL" instead of "(u64)1"
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-shmobile / setup-rcar-gen2.c
index b0626f89d7a6ae6ca0325650d8e80804a5070310..51d572306e1a3e4691ac4149a8cce710acc55f7e 100644 (file)
@@ -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) {