ARM: l2c: remove unnecessary UL-suffix to mask values
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 19 Mar 2014 12:50:53 +0000 (12:50 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 May 2014 15:38:43 +0000 (16:38 +0100)
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>
arch/arm/mach-bcm/bcm_5301x.c
arch/arm/mach-highbank/highbank.c
arch/arm/mach-imx/mach-vf610.c
arch/arm/mach-imx/system.c
arch/arm/mach-mvebu/board-v7.c
arch/arm/mach-rockchip/rockchip.c
arch/arm/mach-socfpga/socfpga.c

index edff69761e0463f774f158cb561780f87d3b94ff..6bc9c31b1b0b6243b876b1abfa5ad81bad686290 100644 (file)
@@ -45,7 +45,7 @@ static void __init bcm5301x_init_early(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);
 }
 
index c7de89b263dd3b3e8e69e554b00b9af7d8079aee..38e1dc3b4c6e91e4836158f056c3cfacc4b7a3d7 100644 (file)
@@ -69,7 +69,7 @@ static void __init highbank_init_irq(void)
        if (IS_ENABLED(CONFIG_CACHE_L2X0) &&
            of_find_compatible_node(NULL, NULL, "arm,pl310-cache")) {
                highbank_smc1(0x102, 0x1);
-               l2x0_of_init(0, ~0UL);
+               l2x0_of_init(0, ~0);
                outer_cache.disable = highbank_l2x0_disable;
        }
 }
index 2d8aef5a6efab86ff0a9bbecae52f64f02f301f8..6288a9690e786863eda16d5243f989337adf7385 100644 (file)
@@ -22,7 +22,7 @@ static void __init vf610_init_machine(void)
 
 static void __init vf610_init_irq(void)
 {
-       l2x0_of_init(0, ~0UL);
+       l2x0_of_init(0, ~0);
        irqchip_init();
 }
 
index 5e3027d3692f8b02c8f3cb327f935520cdce29f3..c6571f1de9fd47aee4c7c9e8d8cd493d78b482f5 100644 (file)
@@ -145,6 +145,6 @@ void __init imx_init_l2cache(void)
        of_node_put(np);
 
 out:
-       l2x0_of_init(0, ~0UL);
+       l2x0_of_init(0, ~0);
 }
 #endif
index 333fca8fdc41c2cf667a849b7461bd8fb2c9baac..c6bd79f647447627f8bbbd5fddc5956a56ef604c 100644 (file)
@@ -60,7 +60,7 @@ static void __init mvebu_timer_and_clk_init(void)
        coherency_init();
        BUG_ON(mvebu_mbus_dt_init());
 #ifdef CONFIG_CACHE_L2X0
-       l2x0_of_init(0, ~0UL);
+       l2x0_of_init(0, ~0);
 #endif
 
        if (of_machine_is_compatible("marvell,armada375"))
index d211d6fa0d985d643743c75e224ba20eb1b612bf..d252efe3747b131bbc6ea01b9ed213a84518b3a5 100644 (file)
@@ -26,7 +26,7 @@
 
 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);
 }
 
index d86231e11b3449665b02a030b849e9cd75cddb0d..9bbb8177f24767a1913e40285b2c20ae002e1a74 100644 (file)
@@ -100,7 +100,7 @@ static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd)
 
 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);
 }