Skip to content

Commit

Permalink
Blackfin arch: use common __INIT/__FINIT defines rather than setting …
Browse files Browse the repository at this point in the history
…the .section ourselves to .init.text

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Nov 21, 2007
1 parent fb32291 commit 9cb07b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arch/blackfin/mach-common/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* after a timer-interrupt and after each system call.
*/


#include <linux/init.h>
#include <linux/linkage.h>
#include <linux/unistd.h>
#include <asm/blackfin.h>
Expand Down Expand Up @@ -881,7 +881,7 @@ ENTRY(_software_trace_buff)
#endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND */

#if CONFIG_EARLY_PRINTK
.section .init.text,"ax"
__INIT
ENTRY(_early_trap)
SAVE_ALL_SYS
trace_buffer_stop(p0,r0);
Expand Down Expand Up @@ -916,6 +916,7 @@ ENTRY(_early_trap)
call _early_trap_c;
SP += 12;
ENDPROC(_early_trap)
__FINIT
#endif /* CONFIG_EARLY_PRINTK */

/*
Expand Down

0 comments on commit 9cb07b2

Please sign in to comment.