Commit d453ef75 authored by Russell King's avatar Russell King

ARM: l2c: remove unnecessary UL-suffix to mask values

They're u32, they're not unsigned long.  The UL suffix is not required
here.
Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent cef3d92c
...@@ -45,7 +45,7 @@ static void __init bcm5301x_init_early(void) ...@@ -45,7 +45,7 @@ static void __init bcm5301x_init_early(void)
static void __init bcm5301x_dt_init(void) static void __init bcm5301x_dt_init(void)
{ {
l2x0_of_init(0, ~0UL); l2x0_of_init(0, ~0);
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
} }
......
...@@ -69,7 +69,7 @@ static void __init highbank_init_irq(void) ...@@ -69,7 +69,7 @@ static void __init highbank_init_irq(void)
if (IS_ENABLED(CONFIG_CACHE_L2X0) && if (IS_ENABLED(CONFIG_CACHE_L2X0) &&
of_find_compatible_node(NULL, NULL, "arm,pl310-cache")) { of_find_compatible_node(NULL, NULL, "arm,pl310-cache")) {
highbank_smc1(0x102, 0x1); highbank_smc1(0x102, 0x1);
l2x0_of_init(0, ~0UL); l2x0_of_init(0, ~0);
outer_cache.disable = highbank_l2x0_disable; outer_cache.disable = highbank_l2x0_disable;
} }
} }
......
...@@ -22,7 +22,7 @@ static void __init vf610_init_machine(void) ...@@ -22,7 +22,7 @@ static void __init vf610_init_machine(void)
static void __init vf610_init_irq(void) static void __init vf610_init_irq(void)
{ {
l2x0_of_init(0, ~0UL); l2x0_of_init(0, ~0);
irqchip_init(); irqchip_init();
} }
......
...@@ -145,6 +145,6 @@ void __init imx_init_l2cache(void) ...@@ -145,6 +145,6 @@ void __init imx_init_l2cache(void)
of_node_put(np); of_node_put(np);
out: out:
l2x0_of_init(0, ~0UL); l2x0_of_init(0, ~0);
} }
#endif #endif
...@@ -60,7 +60,7 @@ static void __init mvebu_timer_and_clk_init(void) ...@@ -60,7 +60,7 @@ static void __init mvebu_timer_and_clk_init(void)
coherency_init(); coherency_init();
BUG_ON(mvebu_mbus_dt_init()); BUG_ON(mvebu_mbus_dt_init());
#ifdef CONFIG_CACHE_L2X0 #ifdef CONFIG_CACHE_L2X0
l2x0_of_init(0, ~0UL); l2x0_of_init(0, ~0);
#endif #endif
if (of_machine_is_compatible("marvell,armada375")) if (of_machine_is_compatible("marvell,armada375"))
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
static void __init rockchip_dt_init(void) static void __init rockchip_dt_init(void)
{ {
l2x0_of_init(0, ~0UL); l2x0_of_init(0, ~0);
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
} }
......
...@@ -100,7 +100,7 @@ static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd) ...@@ -100,7 +100,7 @@ static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd)
static void __init socfpga_cyclone5_init(void) static void __init socfpga_cyclone5_init(void)
{ {
l2x0_of_init(0, ~0UL); l2x0_of_init(0, ~0);
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment