mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
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>
This commit is contained in:
committed by
Jonas Bonn
parent
f38d45dd5a
commit
be5940c9fd
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user