[Pal] Move PRESET_PAGESIZE into arch/x86_64/pal-arch.h

This commit is contained in:
Stefan Berger
2020-05-12 18:31:35 +02:00
committed by Michał Kowalczyk
parent 9952790ce3
commit 2e3e7c526c
3 changed files with 2 additions and 4 deletions
+2
View File
@@ -25,6 +25,8 @@
#include <stdint.h>
#define PRESET_PAGESIZE (1 << 12)
typedef struct pal_tcb PAL_TCB;
static inline PAL_TCB * pal_get_tcb (void)
-2
View File
@@ -62,8 +62,6 @@ extern struct pal_linux_state {
#include <asm/mman.h>
#define PRESET_PAGESIZE (1 << 12)
#define DEFAULT_BACKLOG 2048
#define ACCESS_R 4
-2
View File
@@ -118,8 +118,6 @@ extern struct pal_linux_state {
(INLINE_SYSCALL(clone, 4, CLONE_VM|CLONE_VFORK, 0, NULL, NULL))
#endif
#define PRESET_PAGESIZE (1 << 12)
#define DEFAULT_BACKLOG 2048
int clone (int (*__fn) (void * __arg), void * __child_stack,