aboutsummaryrefslogtreecommitdiff
path: root/arch/parisc/lib/fixup.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/lib/fixup.S
parent492c2e476eac010962850006c49df326919b284c (diff)
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/lib/fixup.S')
-rw-r--r--arch/parisc/lib/fixup.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/lib/fixup.S b/arch/parisc/lib/fixup.S
index d172d4245cd..4821ad6d526 100644
--- a/arch/parisc/lib/fixup.S
+++ b/arch/parisc/lib/fixup.S
@@ -23,6 +23,7 @@
#include <asm/assembly.h>
#include <asm/errno.h>
#include <linux/linkage.h>
+#include <linux/init.h>
#ifdef CONFIG_SMP
.macro get_fault_ip t1 t2
@@ -55,7 +56,7 @@
.level LEVEL
- .text
+ __HEAD
.section .fixup, "ax"
/* get_user() fixups, store -EFAULT in r8, and 0 in r9 */