mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 10:46:48 +07:00
21 lines
364 B
C
21 lines
364 B
C
|
#ifndef __UM_A_OUT_H
|
||
|
#define __UM_A_OUT_H
|
||
|
|
||
|
#include "linux/config.h"
|
||
|
#include "asm/arch/a.out.h"
|
||
|
#include "choose-mode.h"
|
||
|
|
||
|
#undef STACK_TOP
|
||
|
|
||
|
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
|