openrisc: Use the declarations provided by <asm/sections.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 12 Nov 2013 19:56:20 +0000 (20:56 +0100)
committerJonas Bonn <jonas@southpole.se>
Fri, 15 Nov 2013 09:37:41 +0000 (10:37 +0100)
commitbe5940c9fd2fa1905fab4353bb9c7051d088d824
tree9bab4a6dc363f93462dd6b73d4d6b89ec8bfa093
parentf38d45dd5a0c05b7ae9c0fc1c5b2e7f69b4bfcfb
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>
arch/openrisc/kernel/setup.c
arch/openrisc/kernel/vmlinux.h