git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: introduce wrappers to access mm->nr_ptes
[sfrench/cifs-2.6.git]
/
include
/
linux
/
mm_types.h
diff --git
a/include/linux/mm_types.h
b/include/linux/mm_types.h
index e9e561e02d229fa69a7428bc739b770a2552efa4..e42048020664dab052298170d161a9108a8ef95a 100644
(file)
--- a/
include/linux/mm_types.h
+++ b/
include/linux/mm_types.h
@@
-401,7
+401,9
@@
struct mm_struct {
*/
atomic_t mm_count;
+#ifdef CONFIG_MMU
atomic_long_t nr_ptes; /* PTE page table pages */
+#endif
#if CONFIG_PGTABLE_LEVELS > 2
atomic_long_t nr_pmds; /* PMD page table pages */
#endif