diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-02-13 01:53:34 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-02-13 01:53:34 -0500 |
commit | c170093d31bd4e3bc51881cc0f123beeca7872c9 (patch) | |
tree | d93cd280d525dd339f33be010c75b7fd0bacd690 /include/linux/mm.h | |
parent | 557218e2d662574bc58d840fe116c7fd8d57aed8 (diff) | |
parent | 78bba987bc025a7263248501b453476e77b93331 (diff) |
Merge branch 'devicetree/merge' into spi/merge
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 956a35532f47..f6385fc17ad4 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -470,6 +470,7 @@ static inline void set_compound_order(struct page *page, unsigned long order) | |||
470 | page[1].lru.prev = (void *)order; | 470 | page[1].lru.prev = (void *)order; |
471 | } | 471 | } |
472 | 472 | ||
473 | #ifdef CONFIG_MMU | ||
473 | /* | 474 | /* |
474 | * Do pte_mkwrite, but only if the vma says VM_WRITE. We do this when | 475 | * Do pte_mkwrite, but only if the vma says VM_WRITE. We do this when |
475 | * servicing faults for write access. In the normal case, do always want | 476 | * servicing faults for write access. In the normal case, do always want |
@@ -482,6 +483,7 @@ static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma) | |||
482 | pte = pte_mkwrite(pte); | 483 | pte = pte_mkwrite(pte); |
483 | return pte; | 484 | return pte; |
484 | } | 485 | } |
486 | #endif | ||
485 | 487 | ||
486 | /* | 488 | /* |
487 | * Multiple processes may "see" the same page. E.g. for untouched | 489 | * Multiple processes may "see" the same page. E.g. for untouched |