Jeff Dike | ae2587e | 2007-10-16 01:26:57 -0700 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | ||||
3 | * Licensed under the GPL | ||||
4 | */ | ||||
5 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | #ifndef __UM_A_OUT_H |
7 | #define __UM_A_OUT_H | ||||
8 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #include "asm/arch/a.out.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
11 | #undef STACK_TOP | ||||
Jeff Dike | 39a2790 | 2007-06-16 10:16:10 -0700 | [diff] [blame] | 12 | #undef STACK_TOP_MAX |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
14 | extern unsigned long stacksizelim; | ||||
15 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | #define STACK_ROOM (stacksizelim) |
17 | |||||
Jeff Dike | 42a2b54 | 2008-02-04 22:31:00 -0800 | [diff] [blame] | 18 | #define STACK_TOP (TASK_SIZE - 2 * PAGE_SIZE) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
Jeff Dike | 6aa802c | 2007-10-16 01:26:56 -0700 | [diff] [blame] | 20 | #define STACK_TOP_MAX STACK_TOP |
Peter Zijlstra | b111757 | 2007-07-19 01:48:14 -0700 | [diff] [blame] | 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | #endif |