Commit a301a3ae authored by Hiroshi DOYU's avatar Hiroshi DOYU Committed by Tony Lindgren

DSPGW: Fix build error with n800_defconfig

"3c18ddd1" removed "->nopage()" from "vm_ops".
Signed-off-by: default avatarHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 7faa6dd4
......@@ -1311,16 +1311,15 @@ static void dsp_task_mmap_close(struct vm_area_struct *vma)
* On demand page allocation is not allowed. The mapping area is defined by
* corresponding DSP tasks.
*/
static struct page *dsp_task_mmap_nopage(struct vm_area_struct *vma,
unsigned long address, int *type)
static int dsp_task_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
{
return NOPAGE_SIGBUS;
return VM_FAULT_NOPAGE;
}
static struct vm_operations_struct dsp_task_vm_ops = {
.open = dsp_task_mmap_open,
.close = dsp_task_mmap_close,
.nopage = dsp_task_mmap_nopage,
.fault = dsp_task_mmap_fault,
};
static int dsp_task_mmap(struct file *filp, struct vm_area_struct *vma)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment