diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 8 |
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) |