Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71042
b: refs/heads/master
c: 5c8eec5
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Thomas Gleixner committed Oct 17, 2007
1 parent 865b478 commit 0bc917c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 52 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4ac82a8818c6decd0fa57cdb55d4225f43d923a
refs/heads/master: 5c8eec501968cf9b608bba22748d7ca1a91dadf1
2 changes: 0 additions & 2 deletions trunk/include/asm-x86/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ unifdef-y += byteorder_64.h
unifdef-y += elf_32.h
unifdef-y += elf_64.h
unifdef-y += mce.h
unifdef-y += mman_32.h
unifdef-y += mman_64.h
unifdef-y += msgbuf_32.h
unifdef-y += msgbuf_64.h
unifdef-y += msr_32.h
Expand Down
32 changes: 19 additions & 13 deletions trunk/include/asm-x86/mman.h
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 */
17 changes: 0 additions & 17 deletions trunk/include/asm-x86/mman_32.h

This file was deleted.

19 changes: 0 additions & 19 deletions trunk/include/asm-x86/mman_64.h

This file was deleted.

0 comments on commit 0bc917c

Please sign in to comment.