From b96fc2f3c145815359ac1f9f12cc5c852b9ba3f5 Mon Sep 17 00:00:00 2001 From: Stephen Boyd Date: Mon, 19 Oct 2015 13:05:33 -0700 Subject: ARM: Remove __ref on hotplug cpu die path Now that __cpuinit has been removed, the __ref markings on these functions are useless. Remove them. This also reduces the size of the multi_v7_defconfig image: $ size before after text data bss dec hex filename 12683578 1470996 348904 14503478 dd4e36 before 12683274 1470996 348904 14503174 dd4d06 after presumably because now we don't have to jump to code in the .ref.text section and/or the noinline marking is removed. Cc: Shiraz Hashim Cc: Stephen Warren Cc: Alexandre Courbot Cc: Lorenzo Pieralisi Cc: Will Deacon Cc: Cc: Cc: Cc: Acked-by: Tony Lindgren Acked-by: Barry Song Acked-by: Andy Gross Acked-by: Viresh Kumar Acked-by: Thierry Reding Acked-by: Linus Walleij Acked-by: Sudeep Holla Acked-by: Mark Rutland Signed-off-by: Stephen Boyd Signed-off-by: Olof Johansson --- arch/arm/mach-ux500/hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-ux500') diff --git a/arch/arm/mach-ux500/hotplug.c b/arch/arm/mach-ux500/hotplug.c index 2bc00b085e38..1cbed0331fd3 100644 --- a/arch/arm/mach-ux500/hotplug.c +++ b/arch/arm/mach-ux500/hotplug.c @@ -21,7 +21,7 @@ * * Called with IRQs disabled */ -void __ref ux500_cpu_die(unsigned int cpu) +void ux500_cpu_die(unsigned int cpu) { /* directly enter low power state, skipping secure registers */ for (;;) { -- cgit