aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-03-19 08:50:53 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-22 11:38:43 -0400
commitd453ef752cf01e96168ea012016baea0079f5377 (patch)
tree1306c25c290f5245e77fb29e9f00aa75250ad459
parentcef3d92c5bd54b38ddca48c4394e0991be934385 (diff)
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: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-bcm/bcm_5301x.c2
-rw-r--r--arch/arm/mach-highbank/highbank.c2
-rw-r--r--arch/arm/mach-imx/mach-vf610.c2
-rw-r--r--arch/arm/mach-imx/system.c2
-rw-r--r--arch/arm/mach-mvebu/board-v7.c2
-rw-r--r--arch/arm/mach-rockchip/rockchip.c2
-rw-r--r--arch/arm/mach-socfpga/socfpga.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-bcm/bcm_5301x.c b/arch/arm/mach-bcm/bcm_5301x.c
index edff69761e04..6bc9c31b1b0b 100644
--- a/arch/arm/mach-bcm/bcm_5301x.c
+++ b/arch/arm/mach-bcm/bcm_5301x.c
@@ -45,7 +45,7 @@ static void __init bcm5301x_init_early(void)
45 45
46static void __init bcm5301x_dt_init(void) 46static void __init bcm5301x_dt_init(void)
47{ 47{
48 l2x0_of_init(0, ~0UL); 48 l2x0_of_init(0, ~0);
49 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 49 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
50} 50}
51 51
diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c
index c7de89b263dd..38e1dc3b4c6e 100644
--- a/arch/arm/mach-highbank/highbank.c
+++ b/arch/arm/mach-highbank/highbank.c
@@ -69,7 +69,7 @@ static void __init highbank_init_irq(void)
69 if (IS_ENABLED(CONFIG_CACHE_L2X0) && 69 if (IS_ENABLED(CONFIG_CACHE_L2X0) &&
70 of_find_compatible_node(NULL, NULL, "arm,pl310-cache")) { 70 of_find_compatible_node(NULL, NULL, "arm,pl310-cache")) {
71 highbank_smc1(0x102, 0x1); 71 highbank_smc1(0x102, 0x1);
72 l2x0_of_init(0, ~0UL); 72 l2x0_of_init(0, ~0);
73 outer_cache.disable = highbank_l2x0_disable; 73 outer_cache.disable = highbank_l2x0_disable;
74 } 74 }
75} 75}
diff --git a/arch/arm/mach-imx/mach-vf610.c b/arch/arm/mach-imx/mach-vf610.c
index 2d8aef5a6efa..6288a9690e78 100644
--- a/arch/arm/mach-imx/mach-vf610.c
+++ b/arch/arm/mach-imx/mach-vf610.c
@@ -22,7 +22,7 @@ static void __init vf610_init_machine(void)
22 22
23static void __init vf610_init_irq(void) 23static void __init vf610_init_irq(void)
24{ 24{
25 l2x0_of_init(0, ~0UL); 25 l2x0_of_init(0, ~0);
26 irqchip_init(); 26 irqchip_init();
27} 27}
28 28
diff --git a/arch/arm/mach-imx/system.c b/arch/arm/mach-imx/system.c
index 5e3027d3692f..c6571f1de9fd 100644
--- a/arch/arm/mach-imx/system.c
+++ b/arch/arm/mach-imx/system.c
@@ -145,6 +145,6 @@ void __init imx_init_l2cache(void)
145 of_node_put(np); 145 of_node_put(np);
146 146
147out: 147out:
148 l2x0_of_init(0, ~0UL); 148 l2x0_of_init(0, ~0);
149} 149}
150#endif 150#endif
diff --git a/arch/arm/mach-mvebu/board-v7.c b/arch/arm/mach-mvebu/board-v7.c
index 333fca8fdc41..c6bd79f64744 100644
--- a/arch/arm/mach-mvebu/board-v7.c
+++ b/arch/arm/mach-mvebu/board-v7.c
@@ -60,7 +60,7 @@ static void __init mvebu_timer_and_clk_init(void)
60 coherency_init(); 60 coherency_init();
61 BUG_ON(mvebu_mbus_dt_init()); 61 BUG_ON(mvebu_mbus_dt_init());
62#ifdef CONFIG_CACHE_L2X0 62#ifdef CONFIG_CACHE_L2X0
63 l2x0_of_init(0, ~0UL); 63 l2x0_of_init(0, ~0);
64#endif 64#endif
65 65
66 if (of_machine_is_compatible("marvell,armada375")) 66 if (of_machine_is_compatible("marvell,armada375"))
diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c
index d211d6fa0d98..d252efe3747b 100644
--- a/arch/arm/mach-rockchip/rockchip.c
+++ b/arch/arm/mach-rockchip/rockchip.c
@@ -26,7 +26,7 @@
26 26
27static void __init rockchip_dt_init(void) 27static void __init rockchip_dt_init(void)
28{ 28{
29 l2x0_of_init(0, ~0UL); 29 l2x0_of_init(0, ~0);
30 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 30 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
31} 31}
32 32
diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c
index d86231e11b34..9bbb8177f247 100644
--- a/arch/arm/mach-socfpga/socfpga.c
+++ b/arch/arm/mach-socfpga/socfpga.c
@@ -100,7 +100,7 @@ static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd)
100 100
101static void __init socfpga_cyclone5_init(void) 101static void __init socfpga_cyclone5_init(void)
102{ 102{
103 l2x0_of_init(0, ~0UL); 103 l2x0_of_init(0, ~0);
104 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 104 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
105} 105}
106 106