]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0d01cbac25affd260559b16c61a658d433d9010
tree9bab4a6dc363f93462dd6b73d4d6b89ec8bfa093
parent6986add8577e9bf491112f0ab207db1149064736
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