diff options
author | Helge Deller <deller@gmx.de> | 2008-05-02 22:02:48 +0200 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2008-05-15 10:38:54 -0400 |
commit | bd3bb8c15b9a80dbddfb7905b237a4a11a4725b4 (patch) | |
tree | 13cd7556b4c39f94c4eb914d726aab34ca0de0de /arch/parisc/lib | |
parent | 492c2e476eac010962850006c49df326919b284c (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')
-rw-r--r-- | arch/parisc/lib/fixup.S | 3 | ||||
-rw-r--r-- | arch/parisc/lib/lusercopy.S | 5 |
2 files changed, 5 insertions, 3 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 */ diff --git a/arch/parisc/lib/lusercopy.S b/arch/parisc/lib/lusercopy.S index 1bd23ccec17..b0d88535084 100644 --- a/arch/parisc/lib/lusercopy.S +++ b/arch/parisc/lib/lusercopy.S @@ -33,11 +33,12 @@ */ - .text - #include <asm/assembly.h> #include <asm/errno.h> #include <linux/linkage.h> +#include <linux/init.h> + + __HEAD /* * get_sr gets the appropriate space value into |