Title: [3902] trunk/arch/blackfin/mach-common/entry.S: use common __INIT/
__FINIT defines rather than setting the .section ourselves to .init.text
- Revision
- 3902
- Author
- vapier
- Date
- 2007-11-20 17:04:04 -0600 (Tue, 20 Nov 2007)
Log Message
use common __INIT/__FINIT defines rather than setting the .section ourselves to .init.text
Diffstat
entry.S | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-common/entry.S (3901 => 3902)
--- trunk/arch/blackfin/mach-common/entry.S 2007-11-20 04:06:23 UTC (rev 3901)
+++ trunk/arch/blackfin/mach-common/entry.S 2007-11-20 23:04:04 UTC (rev 3902)
@@ -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>
@@ -881,7 +881,7 @@
#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);
@@ -916,6 +916,7 @@
call _early_trap_c;
SP += 12;
ENDPROC(_early_trap)
+__FINIT
#endif /* CONFIG_EARLY_PRINTK */
/*
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits