blob: 9281dd8eb3345960e58a9248e7027b0ff4c30059 [file] [log] [blame]
Jeff Dikeae2587e2007-10-16 01:26:57 -07001/*
2 * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
4 */
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006#ifndef __UM_A_OUT_H
7#define __UM_A_OUT_H
8
Linus Torvalds1da177e2005-04-16 15:20:36 -07009#include "asm/arch/a.out.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11#undef STACK_TOP
Jeff Dike39a27902007-06-16 10:16:10 -070012#undef STACK_TOP_MAX
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14extern unsigned long stacksizelim;
15
16extern unsigned long host_task_size;
17
18#define STACK_ROOM (stacksizelim)
19
Jeff Dike6aa802c2007-10-16 01:26:56 -070020#define STACK_TOP task_size
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Jeff Dike6aa802c2007-10-16 01:26:56 -070022#define STACK_TOP_MAX STACK_TOP
Peter Zijlstrab1117572007-07-19 01:48:14 -070023
Linus Torvalds1da177e2005-04-16 15:20:36 -070024#endif