summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hutchings2011-03-09 01:32:36 +0100
committerHans-Christian Egtvedt2011-04-13 15:46:49 +0200
commit51ef85d8f9ae24475a0cb1bd772258eafec91c69 (patch)
tree87122fc1aaf1cc0e86dc726647b2504723f86e4c
parentavr32: At32ap: pio fix typo "))" on gpio_irq_unmask prototype (diff)
downloadkernel-qcow2-linux-51ef85d8f9ae24475a0cb1bd772258eafec91c69.tar.gz
kernel-qcow2-linux-51ef85d8f9ae24475a0cb1bd772258eafec91c69.tar.xz
kernel-qcow2-linux-51ef85d8f9ae24475a0cb1bd772258eafec91c69.zip
avr32: Fix .size directive for cpu_enter_idle
gas used to accept (and ignore?) .size directives which referred to undefined symbols, as this does. In binutils 2.21 these are treated as errors. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
-rw-r--r--arch/avr32/mach-at32ap/pm-at32ap700x.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/pm-at32ap700x.S b/arch/avr32/mach-at32ap/pm-at32ap700x.S
index 17503b0ed6c9..f868f4ce761b 100644
--- a/arch/avr32/mach-at32ap/pm-at32ap700x.S
+++ b/arch/avr32/mach-at32ap/pm-at32ap700x.S
@@ -53,7 +53,7 @@ cpu_enter_idle:
st.w r8[TI_flags], r9
unmask_interrupts
sleep CPU_SLEEP_IDLE
- .size cpu_idle_sleep, . - cpu_idle_sleep
+ .size cpu_enter_idle, . - cpu_enter_idle
/*
* Common return path for PM functions that don't run from