| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |||||
| 10 | extern unsigned long stacksizelim; | ||||
| 11 | |||||
| 12 | extern unsigned long host_task_size; | ||||
| 13 | |||||
| 14 | #define STACK_ROOM (stacksizelim) | ||||
| 15 | |||||
| 16 | extern int honeypot; | ||||
| 17 | #define STACK_TOP \ | ||||
| 18 | CHOOSE_MODE((honeypot ? host_task_size : task_size), task_size) | ||||
| 19 | |||||
| 20 | #endif | ||||