login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
3
Re: [PATCH 1/1] ALSA: add dummy function to support shared mmap in nommu Blackfin arch (v2)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Bryan Wu
Subject:
Re: [PATCH 1/1] ALSA: add dummy function to support shared mmap in nommu Blackfin arch (v2)
Date: Wednesday, September 3, 2008 - 1:35 am
On Tue, Sep 2, 2008 at 9:37 PM, Mike Frysinger <vapier.adi@gmail.com> wrote:
quoted text
> On Tue, Sep 2, 2008 at 5:58 AM, Bryan Wu wrote: >> From: Cliff Cai <cliff.cai@analog.com> >> >> v1-v2: >> - only adding this dummy function in nommu arch >> >> Signed-off-by: Cliff Cai <cliff.cai@analog.com> >> Signed-off-by: Bryan Wu <cooloney@kernel.org> >> --- >> sound/core/pcm_native.c | 14 ++++++++++++++ >> 1 files changed, 14 insertions(+), 0 deletions(-) >> >> diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c >> index c49b9d9..1e88cde 100644 >> --- a/sound/core/pcm_native.c >> +++ b/sound/core/pcm_native.c >> @@ -3391,6 +3391,14 @@ out: >> } >> #endif /* CONFIG_SND_SUPPORT_OLD_API */ >> >> +#ifndef CONFIG_MMU >> +unsigned long dummy_get_unmapped_area(struct file *file, unsigned long addr, >> + unsigned long len, unsigned long pgoff, unsigned long flags) >> +{ >> + return 0; >> +} >> +#endif > > if you had: > #else > # define dummy_get_unmapped_area NULL > #endif > then you could avoid #ifdef in the rest of the file ... > -mike >
Right, I will refresh this patch. -Bryan --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 1/1] ALSA: add dummy function to support shared mma ...
, Bryan Wu
, (Tue Sep 2, 2:58 am)
Re: [PATCH 1/1] ALSA: add dummy function to support shared ...
, Mike Frysinger
, (Tue Sep 2, 6:37 am)
Re: [PATCH 1/1] ALSA: add dummy function to support shared ...
, Bryan Wu
, (Wed Sep 3, 1:35 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX ac