git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
include
/
asm-arm
/
pgalloc.h
diff --git
a/include/asm-arm/pgalloc.h
b/include/asm-arm/pgalloc.h
index
4d43945
..
bc18ff4
100644
(file)
--- a/
include/asm-arm/pgalloc.h
+++ b/
include/asm-arm/pgalloc.h
@@
-10,19
+10,10
@@
#ifndef _ASMARM_PGALLOC_H
#define _ASMARM_PGALLOC_H
#ifndef _ASMARM_PGALLOC_H
#define _ASMARM_PGALLOC_H
-#include <asm/domain.h>
-#include <asm/pgtable-hwdef.h>
#include <asm/processor.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/processor.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
-#define check_pgt_cache() do { } while (0)
-
-#ifdef CONFIG_MMU
-
-#define _PAGE_USER_TABLE (PMD_TYPE_TABLE | PMD_BIT4 | PMD_DOMAIN(DOMAIN_USER))
-#define _PAGE_KERNEL_TABLE (PMD_TYPE_TABLE | PMD_BIT4 | PMD_DOMAIN(DOMAIN_KERNEL))
-
/*
* Since we have only two-level page tables, these are trivial
*/
/*
* Since we have only two-level page tables, these are trivial
*/
@@
-36,6
+27,8
@@
extern void free_pgd_slow(pgd_t *pgd);
#define pgd_alloc(mm) get_pgd_slow(mm)
#define pgd_free(pgd) free_pgd_slow(pgd)
#define pgd_alloc(mm) get_pgd_slow(mm)
#define pgd_free(pgd) free_pgd_slow(pgd)
+#define check_pgt_cache() do { } while (0)
+
/*
* Allocate one PTE table.
*
/*
* Allocate one PTE table.
*
@@
-128,6
+121,4
@@
pmd_populate(struct mm_struct *mm, pmd_t *pmdp, struct page *ptep)
__pmd_populate(pmdp, page_to_pfn(ptep) << PAGE_SHIFT | _PAGE_USER_TABLE);
}
__pmd_populate(pmdp, page_to_pfn(ptep) << PAGE_SHIFT | _PAGE_USER_TABLE);
}
-#endif /* CONFIG_MMU */
-
#endif
#endif