summaryrefslogtreecommitdiffstats
path: root/arch/avr32
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-03-09 00:32:36 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2011-04-13 15:46:49 +0200
commit51ef85d8f9ae24475a0cb1bd772258eafec91c69 (patch)
tree87122fc1aaf1cc0e86dc726647b2504723f86e4c /arch/avr32
parent024b3f2936c9a9393d2cf37b7c537b29fb894b62 (diff)
downloadlinux-stable-51ef85d8f9ae24475a0cb1bd772258eafec91c69.tar.gz
linux-stable-51ef85d8f9ae24475a0cb1bd772258eafec91c69.tar.bz2
linux-stable-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>
Diffstat (limited to 'arch/avr32')
-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