forked from Minki/linux
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>
This commit is contained in:
parent
83850b04ae
commit
b69f47c00f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user