Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101829
b: refs/heads/master
c: b3fcaaa
h: refs/heads/master
i:
  101827: 3bf0b54
v: v3
  • Loading branch information
Stephen Rothwell authored and Benjamin Herrenschmidt committed Jul 15, 2008
1 parent 401c440 commit 66fb3bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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: 5b0504c0d795d6b0a904ff861c043d7a231f67a4
refs/heads/master: b3fcaaa8a6359e9ed623ed4c1d2d48c79eed4648
1 change: 0 additions & 1 deletion trunk/include/asm-powerpc/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ include include/asm-generic/Kbuild.asm

header-y += auxvec.h
header-y += ioctls.h
header-y += mman.h
header-y += sembuf.h
header-y += siginfo.h
header-y += stat.h
Expand Down
8 changes: 6 additions & 2 deletions trunk/include/asm-powerpc/mman.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#ifndef _ASM_POWERPC_MMAN_H
#define _ASM_POWERPC_MMAN_H

#include <asm/cputable.h>
#include <asm-generic/mman.h>
#include <linux/mm.h>

/*
* This program is free software; you can redistribute it and/or
Expand All @@ -28,7 +26,12 @@
#define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */
#define MAP_NONBLOCK 0x10000 /* do not block on IO */

#ifdef __KERNEL__
#ifdef CONFIG_PPC64

#include <asm/cputable.h>
#include <linux/mm.h>

/*
* This file is included by linux/mman.h, so we can't use cacl_vm_prot_bits()
* here. How important is the optimization?
Expand Down Expand Up @@ -56,4 +59,5 @@ static inline int arch_validate_prot(unsigned long prot)
#define arch_validate_prot(prot) arch_validate_prot(prot)

#endif /* CONFIG_PPC64 */
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_MMAN_H */

0 comments on commit 66fb3bb

Please sign in to comment.