diff options
Diffstat (limited to 'scullp/mmap.c')
-rw-r--r-- | scullp/mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scullp/mmap.c b/scullp/mmap.c index 9ca60f1..619824e 100644 --- a/scullp/mmap.c +++ b/scullp/mmap.c @@ -61,7 +61,7 @@ struct page *scullp_vma_nopage(struct vm_area_struct *vma, { unsigned long offset; struct scullp_dev *ptr, *dev = vma->vm_private_data; - struct page *page = NOPAGE_SIGBUS; + struct page *page = VM_FAULT_SIGBUS; void *pageptr = NULL; /* default to "missing" */ down(&dev->sem); @@ -96,7 +96,7 @@ struct page *scullp_vma_nopage(struct vm_area_struct *vma, struct vm_operations_struct scullp_vm_ops = { .open = scullp_vma_open, .close = scullp_vma_close, - .nopage = scullp_vma_nopage, + .fault = scullp_vma_nopage, }; |