summaryrefslogtreecommitdiffstats
path: root/include/asm-um/a.out.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/a.out.h')
-rw-r--r--include/asm-um/a.out.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-um/a.out.h b/include/asm-um/a.out.h
new file mode 100644
index 00000000000..7c26265e1d7
--- /dev/null
+++ b/include/asm-um/a.out.h
@@ -0,0 +1,20 @@
+#ifndef __UM_A_OUT_H
+#define __UM_A_OUT_H
+
+#include "linux/config.h"
+#include "asm/arch/a.out.h"
+#include "choose-mode.h"
+
+#undef STACK_TOP
+
+extern unsigned long stacksizelim;
+
+extern unsigned long host_task_size;
+
+#define STACK_ROOM (stacksizelim)
+
+extern int honeypot;
+#define STACK_TOP \
+ CHOOSE_MODE((honeypot ? host_task_size : task_size), task_size)
+
+#endif