summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/entry.S
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2008-05-02 22:02:48 +0200
committerKyle McMartin <kyle@mcmartin.ca>2008-05-15 10:38:54 -0400
commitbd3bb8c15b9a80dbddfb7905b237a4a11a4725b4 (patch)
tree13cd7556b4c39f94c4eb914d726aab34ca0de0de /arch/parisc/kernel/entry.S
parent492c2e476eac010962850006c49df326919b284c (diff)
downloadlwn-bd3bb8c15b9a80dbddfb7905b237a4a11a4725b4.tar.gz
lwn-bd3bb8c15b9a80dbddfb7905b237a4a11a4725b4.zip
parisc: fix trivial section name warnings
This trivial patch fixes the following section warnings on PARISC: > WARNING: vmlinux.o (.text.1): unexpected section name. >The (.[number]+) following section name are ld generated and not expected. > Did you forget to use "ax"/"aw" in a .S file? > Note that for example <linux/init.h> contains > section definitions for use in .S files. Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc/kernel/entry.S')
-rw-r--r--arch/parisc/kernel/entry.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S
index 111d47284eac..1a3935e61ab7 100644
--- a/arch/parisc/kernel/entry.S
+++ b/arch/parisc/kernel/entry.S
@@ -38,6 +38,7 @@
#include <asm/thread_info.h>
#include <linux/linkage.h>
+#include <linux/init.h>
#ifdef CONFIG_64BIT
#define CMPIB cmpib,*
@@ -629,7 +630,7 @@
* the static part of the kernel address space.
*/
- .text
+ __HEAD
.align PAGE_SIZE