summaryrefslogtreecommitdiffstats
path: root/sound/oss
diff options
context:
space:
mode:
authorAl Viro <viro@www.linux.org.uk>2005-04-24 12:28:34 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-24 12:28:34 -0700
commitfa732f556896836e88cd662ee7a664c4db6d080d (patch)
treed1f6cf66754d23d21a6eb398a331cfc3e7590cba /sound/oss
parent01424961e621737c638e489b6a0b5e6602b02612 (diff)
downloadlinux-stable-fa732f556896836e88cd662ee7a664c4db6d080d.tar.gz
linux-stable-fa732f556896836e88cd662ee7a664c4db6d080d.tar.bz2
linux-stable-fa732f556896836e88cd662ee7a664c4db6d080d.zip
[PATCH] msnd_pinnacle GFP fix
Dumb typo - __get_free_page() takes gfp mask (in this case - GFP_KERNEL), not the page size... Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss')
-rw-r--r--sound/oss/msnd_pinnacle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/msnd_pinnacle.c b/sound/oss/msnd_pinnacle.c
index 6ba03f89fc43..0c2db657badd 100644
--- a/sound/oss/msnd_pinnacle.c
+++ b/sound/oss/msnd_pinnacle.c
@@ -892,7 +892,7 @@ static __inline__ int pack_DAPF_to_DAPQ(register int start)
static int dsp_read(char __user *buf, size_t len)
{
int count = len;
- char *page = (char *)__get_free_page(PAGE_SIZE);
+ char *page = (char *)__get_free_page(GFP_KERNEL);
if (!page)
return -ENOMEM;