-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Same file, except for the extra 64bit MAP_32BIT define, which does not hurt for 32 bit compiles. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
- Loading branch information
Thomas Gleixner
authored and
Thomas Gleixner
committed
Oct 17, 2007
1 parent
c4ac82a
commit 5c8eec5
Showing
4 changed files
with
19 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
#ifdef __KERNEL__ | ||
# ifdef CONFIG_X86_32 | ||
# include "mman_32.h" | ||
# else | ||
# include "mman_64.h" | ||
# endif | ||
#else | ||
# ifdef __i386__ | ||
# include "mman_32.h" | ||
# else | ||
# include "mman_64.h" | ||
# endif | ||
#endif | ||
#ifndef _ASM_X86_MMAN_H | ||
#define _ASM_X86_MMAN_H | ||
|
||
#include <asm-generic/mman.h> | ||
|
||
#define MAP_32BIT 0x40 /* only give out 32bit addresses */ | ||
|
||
#define MAP_GROWSDOWN 0x0100 /* stack-like segment */ | ||
#define MAP_DENYWRITE 0x0800 /* ETXTBSY */ | ||
#define MAP_EXECUTABLE 0x1000 /* mark it as an executable */ | ||
#define MAP_LOCKED 0x2000 /* pages are locked */ | ||
#define MAP_NORESERVE 0x4000 /* don't check for reservations */ | ||
#define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */ | ||
#define MAP_NONBLOCK 0x10000 /* do not block on IO */ | ||
|
||
#define MCL_CURRENT 1 /* lock all current mappings */ | ||
#define MCL_FUTURE 2 /* lock all future mappings */ | ||
|
||
#endif /* _ASM_X86_MMAN_H */ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.