blob: f42ff14577fac4875228242f26128ae6659e92f0 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070016#define STACK_ROOM (stacksizelim)
17
Jeff Dike42a2b542008-02-04 22:31:00 -080018#define STACK_TOP (TASK_SIZE - 2 * PAGE_SIZE)
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
Jeff Dike6aa802c2007-10-16 01:26:56 -070020#define STACK_TOP_MAX STACK_TOP
Peter Zijlstrab1117572007-07-19 01:48:14 -070021
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#endif