aboutsummaryrefslogtreecommitdiffstats
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 000000000000..7c26265e1d7a
--- /dev/null
+++ b/include/asm-um/a.out.h
@@ -0,0 +1,20 @@
1#ifndef __UM_A_OUT_H
2#define __UM_A_OUT_H
3
4#include "linux/config.h"
5#include "asm/arch/a.out.h"
6#include "choose-mode.h"
7
8#undef STACK_TOP
9
10extern unsigned long stacksizelim;
11
12extern unsigned long host_task_size;
13
14#define STACK_ROOM (stacksizelim)
15
16extern int honeypot;
17#define STACK_TOP \
18 CHOOSE_MODE((honeypot ? host_task_size : task_size), task_size)
19
20#endif