diff options
| author | Andy Whitcroft <apw@shadowen.org> | 2004-09-02 20:23:07 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-02 20:23:07 -0700 |
| commit | 7319a99b575973bae9df283bb22efaf2304a38b4 (patch) | |
| tree | d5d6a62bef6b8ba7c406cd3179d3510149d44b3b /include | |
| parent | 4614ad37be59ea62e32fc612dbe3478e70a24c4a (diff) | |
[PATCH] ppc64 topdown support: arch-specific get_unmapped_area()
ppc64 has constraints on the mixing of small and large pages, such that
they cannot be mixed in the same 256Mb segment. This patch provides an
architecture specific arch_get_unmapped_area_topdown() which implements
these contraints.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc64/pgtable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc64/pgtable.h b/include/asm-ppc64/pgtable.h index b5bbb1f0c532..397758e24c0f 100644 --- a/include/asm-ppc64/pgtable.h +++ b/include/asm-ppc64/pgtable.h @@ -167,6 +167,7 @@ int hash_huge_page(struct mm_struct *mm, unsigned long access, #endif /* __ASSEMBLY__ */ #define HAVE_ARCH_UNMAPPED_AREA +#define HAVE_ARCH_UNMAPPED_AREA_TOPDOWN #else #define hash_huge_page(mm,a,ea,vsid,local) -1 |
