home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-um / a.out.h next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  338 b   |  20 lines

  1. #ifndef __UM_A_OUT_H
  2. #define __UM_A_OUT_H
  3.  
  4. #include "asm/arch/a.out.h"
  5. #include "choose-mode.h"
  6.  
  7. #undef STACK_TOP
  8.  
  9. extern unsigned long stacksizelim;
  10.  
  11. extern unsigned long host_task_size;
  12.  
  13. #define STACK_ROOM (stacksizelim)
  14.  
  15. extern int honeypot;
  16. #define STACK_TOP \
  17.     CHOOSE_MODE((honeypot ? host_task_size : task_size), task_size)
  18.  
  19. #endif
  20.