um: Create asm/sections.h
arch/um/kernel/dyn.lds.S and arch/um/kernel/uml.lds.S define some UML-specific symbols. These symbols are used in the kernel part of UML with extern declarations. Move these declarations to a new header, asm/sections.h, like other architectures do. Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:

committed by
Richard Weinberger

parent
ba155e2d21
commit
d5f20be7ca
@@ -22,7 +22,6 @@ generic-y += pci.h
|
||||
generic-y += percpu.h
|
||||
generic-y += preempt.h
|
||||
generic-y += scatterlist.h
|
||||
generic-y += sections.h
|
||||
generic-y += switch_to.h
|
||||
generic-y += topology.h
|
||||
generic-y += trace_clock.h
|
||||
|
9
arch/um/include/asm/sections.h
Normal file
9
arch/um/include/asm/sections.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef __UM_SECTIONS_H
|
||||
#define __UM_SECTIONS_H
|
||||
|
||||
#include <asm-generic/sections.h>
|
||||
|
||||
extern char __binary_start;
|
||||
extern int __syscall_stub_start, __syscall_stub_end;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user