summaryrefslogtreecommitdiff
path: root/arch/openrisc/kernel/vmlinux.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-11-12 19:56:20 (GMT)
committerJonas Bonn <jonas@southpole.se>2013-11-15 09:37:41 (GMT)
commitbe5940c9fd2fa1905fab4353bb9c7051d088d824 (patch)
tree9bab4a6dc363f93462dd6b73d4d6b89ec8bfa093 /arch/openrisc/kernel/vmlinux.h
parentf38d45dd5a0c05b7ae9c0fc1c5b2e7f69b4bfcfb (diff)
downloadlinux-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.h1
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;