summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/platform
diff options
context:
space:
mode:
authorGreg Ungerer2008-07-11 07:29:36 +0200
committerGreg Ungerer2008-07-23 07:11:29 +0200
commit9b0e74102494971ca37a425c63031fea68bb5b79 (patch)
treea50815d416ded6b0d46f7cc02241b6e5f0aa0072 /arch/m68knommu/platform
parentm68knommu: remove last use of CONFIG_FADS and CONFIG_RPXCLASSIC (diff)
downloadkernel-qcow2-linux-9b0e74102494971ca37a425c63031fea68bb5b79.tar.gz
kernel-qcow2-linux-9b0e74102494971ca37a425c63031fea68bb5b79.tar.xz
kernel-qcow2-linux-9b0e74102494971ca37a425c63031fea68bb5b79.zip
m68knommu: put ColdFire head code into .text.head section
Switch the ColdFire head start up code to be in the .text.head segment. And make sure that segment is at the start of the final linked text segment. Fixes the linker warnings about section use mis-matches: WARNING: vmlinux.o(.text+0xa8): Section mismatch in reference from the variable _clear_bss to the function .init.text:start_kernel() The function _clear_bss() references the function __init start_kernel(). This is often because _clear_bss lacks a __init annotation or the annotation of start_kernel is wrong. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/platform')
-rw-r--r--arch/m68knommu/platform/coldfire/head.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68knommu/platform/coldfire/head.S b/arch/m68knommu/platform/coldfire/head.S
index b9aa0ca29bfb..2b0d73c0cc32 100644
--- a/arch/m68knommu/platform/coldfire/head.S
+++ b/arch/m68knommu/platform/coldfire/head.S
@@ -10,6 +10,7 @@
#include <linux/sys.h>
#include <linux/linkage.h>
+#include <linux/init.h>
#include <asm/asm-offsets.h>
#include <asm/coldfire.h>
#include <asm/mcfcache.h>
@@ -126,7 +127,7 @@ _ramend:
/*****************************************************************************/
-.text
+__HEAD
/*
* This is the codes first entry point. This is where it all