diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-11-12 19:56:20 (GMT) |
---|---|---|
committer | Jonas Bonn <jonas@southpole.se> | 2013-11-15 09:37:41 (GMT) |
commit | be5940c9fd2fa1905fab4353bb9c7051d088d824 (patch) | |
tree | 9bab4a6dc363f93462dd6b73d4d6b89ec8bfa093 /arch/openrisc/kernel/vmlinux.h | |
parent | f38d45dd5a0c05b7ae9c0fc1c5b2e7f69b4bfcfb (diff) | |
download | linux-fsl-qoriq-be5940c9fd2fa1905fab4353bb9c7051d088d824.tar.xz |
openrisc: Use the declarations provided by <asm/sections.h>
Openrisc's private vmlinux.h duplicates a few definitions that are already
provided by asm-generic/sections.h. The former is used by setup.c only,
while the latter is already used everywhere else.
Convert setup.c to use the generic version:
- Include <asm/sections.h>,
- Remove the (slightly different) extern declarations,
- Remove the no longer needed address-of ('&') operators.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Diffstat (limited to 'arch/openrisc/kernel/vmlinux.h')
-rw-r--r-- | arch/openrisc/kernel/vmlinux.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/openrisc/kernel/vmlinux.h b/arch/openrisc/kernel/vmlinux.h index ee842a2..3f7b2b2 100644 --- a/arch/openrisc/kernel/vmlinux.h +++ b/arch/openrisc/kernel/vmlinux.h @@ -1,7 +1,6 @@ #ifndef __OPENRISC_VMLINUX_H_ #define __OPENRISC_VMLINUX_H_ -extern char _stext, _etext, _edata, _end; #ifdef CONFIG_BLK_DEV_INITRD extern char __initrd_start, __initrd_end; extern char __initramfs_start; |