aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/kernel/vmlinux.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-11-12 14:56:20 -0500
committerJonas Bonn <jonas@southpole.se>2013-11-15 04:37:41 -0500
commitbe5940c9fd2fa1905fab4353bb9c7051d088d824 (patch)
tree9bab4a6dc363f93462dd6b73d4d6b89ec8bfa093 /arch/openrisc/kernel/vmlinux.h
parentf38d45dd5a0c05b7ae9c0fc1c5b2e7f69b4bfcfb (diff)
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 ee842a2d3f36..3f7b2b23a439 100644
--- a/arch/openrisc/kernel/vmlinux.h
+++ b/arch/openrisc/kernel/vmlinux.h
@@ -1,7 +1,6 @@
1#ifndef __OPENRISC_VMLINUX_H_ 1#ifndef __OPENRISC_VMLINUX_H_
2#define __OPENRISC_VMLINUX_H_ 2#define __OPENRISC_VMLINUX_H_
3 3
4extern char _stext, _etext, _edata, _end;
5#ifdef CONFIG_BLK_DEV_INITRD 4#ifdef CONFIG_BLK_DEV_INITRD
6extern char __initrd_start, __initrd_end; 5extern char __initrd_start, __initrd_end;
7extern char __initramfs_start; 6extern char __initramfs_start;