aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include/asm/sections.h
diff options
context:
space:
mode:
authorNicolas Iooss2014-10-12 13:02:11 +0200
committerRichard Weinberger2015-05-31 13:14:05 +0200
commitd5f20be7cab85e6e701751323eea77c7935ae522 (patch)
treed560ec0a1869a1399291d216e3b4df4d2a33ed43 /arch/um/include/asm/sections.h
parentba155e2d21f6bf05de86a78dbe5bfd8757604a65 (diff)
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>
Diffstat (limited to 'arch/um/include/asm/sections.h')
-rw-r--r--arch/um/include/asm/sections.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/um/include/asm/sections.h b/arch/um/include/asm/sections.h
new file mode 100644
index 000000000000..3a6ebcc65519
--- /dev/null
+++ b/arch/um/include/asm/sections.h
@@ -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