aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2008-04-28 05:12:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:18 -0400
commit3c18ddd160d1fcd46d1131d9ad6c594dd8e9af99 (patch)
tree7307ba1ae4bdb99d1363eb59b1ebefcf5295c8ef /include
parent4d3d5b41a72b52555d43efbfc4ccde6ba6e5444f (diff)
mm: remove nopage
Nothing in the tree uses nopage any more. Remove support for it in the core mm code and documentation (and a few stray references to it in comments). Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mm.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 286d31521605..ca973359fe5f 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -164,8 +164,6 @@ struct vm_operations_struct {
164 void (*open)(struct vm_area_struct * area); 164 void (*open)(struct vm_area_struct * area);
165 void (*close)(struct vm_area_struct * area); 165 void (*close)(struct vm_area_struct * area);
166 int (*fault)(struct vm_area_struct *vma, struct vm_fault *vmf); 166 int (*fault)(struct vm_area_struct *vma, struct vm_fault *vmf);
167 struct page *(*nopage)(struct vm_area_struct *area,
168 unsigned long address, int *type);
169 unsigned long (*nopfn)(struct vm_area_struct *area, 167 unsigned long (*nopfn)(struct vm_area_struct *area,
170 unsigned long address); 168 unsigned long address);
171 169
@@ -649,12 +647,6 @@ static inline int page_mapped(struct page *page)
649} 647}
650 648
651/* 649/*
652 * Error return values for the *_nopage functions
653 */
654#define NOPAGE_SIGBUS (NULL)
655#define NOPAGE_OOM ((struct page *) (-1))
656
657/*
658 * Error return values for the *_nopfn functions 650 * Error return values for the *_nopfn functions
659 */ 651 */
660#define NOPFN_SIGBUS ((unsigned long) -1) 652#define NOPFN_SIGBUS ((unsigned long) -1)