mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
39a2790266
The x86_64 a.out.h got a definition of STACK_TOP_MAX, which interferes with the UML version. So, just undef it like STACK_TOP. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
21 lines
359 B
C
21 lines
359 B
C
#ifndef __UM_A_OUT_H
|
|
#define __UM_A_OUT_H
|
|
|
|
#include "asm/arch/a.out.h"
|
|
#include "choose-mode.h"
|
|
|
|
#undef STACK_TOP
|
|
#undef STACK_TOP_MAX
|
|
|
|
extern unsigned long stacksizelim;
|
|
|
|
extern unsigned long host_task_size;
|
|
|
|
#define STACK_ROOM (stacksizelim)
|
|
|
|
extern int honeypot;
|
|
#define STACK_TOP \
|
|
CHOOSE_MODE((honeypot ? host_task_size : task_size), task_size)
|
|
|
|
#endif
|