From: Ben Hutchings Date: Wed, 9 Mar 2011 00:32:36 +0000 (+0000) Subject: avr32: Fix .size directive for cpu_enter_idle X-Git-Tag: v2.6.39-rc4~56^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51ef85d8f9ae24475a0cb1bd772258eafec91c69;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Hans-Christian Egtvedt --- diff --git a/arch/avr32/mach-at32ap/pm-at32ap700x.S b/arch/avr32/mach-at32ap/pm-at32ap700x.S index 17503b0..f868f4c 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