From: Tony Lindgren <tony@atomide.com>
To: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/1] DSPGW: Fix build error with n800_defconfig
Date: Tue, 6 May 2008 15:13:46 -0700 [thread overview]
Message-ID: <20080506221346.GH18682@atomide.com> (raw)
In-Reply-To: <1210070561-2275-1-git-send-email-Hiroshi.DOYU@nokia.com>
* Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [080506 03:43]:
> "3c18ddd160d1fcd46d1131d9ad6c594dd8e9af99" removed "->nopage()" from "vm_ops".
>
> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> ---
> drivers/dsp/dspgateway/task.c | 7 +++----
> 1 files changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/dsp/dspgateway/task.c b/drivers/dsp/dspgateway/task.c
> index e5ee8e0..e3a0a02 100644
> --- a/drivers/dsp/dspgateway/task.c
> +++ b/drivers/dsp/dspgateway/task.c
> @@ -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)
Pushing.
Tony
prev parent reply other threads:[~2008-05-06 22:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-06 10:42 [PATCH 1/1] DSPGW: Fix build error with n800_defconfig Hiroshi DOYU
2008-05-06 22:13 ` Tony Lindgren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080506221346.GH18682@atomide.com \
--to=tony@atomide.com \
--cc=Hiroshi.DOYU@nokia.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox