blob: 7016b893ac9d7feef84533d30475998902e53735 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __UM_A_OUT_H
2#define __UM_A_OUT_H
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#include "asm/arch/a.out.h"
5#include "choose-mode.h"
6
7#undef STACK_TOP
Jeff Dike39a27902007-06-16 10:16:10 -07008#undef STACK_TOP_MAX
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
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