diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-04-24 15:28:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-24 15:28:34 -0400 |
commit | fa732f556896836e88cd662ee7a664c4db6d080d (patch) | |
tree | d1f6cf66754d23d21a6eb398a331cfc3e7590cba /sound | |
parent | 01424961e621737c638e489b6a0b5e6602b02612 (diff) |
[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')
-rw-r--r-- | sound/oss/msnd_pinnacle.c | 2 |
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) | |||
892 | static int dsp_read(char __user *buf, size_t len) | 892 | static int dsp_read(char __user *buf, size_t len) |
893 | { | 893 | { |
894 | int count = len; | 894 | int count = len; |
895 | char *page = (char *)__get_free_page(PAGE_SIZE); | 895 | char *page = (char *)__get_free_page(GFP_KERNEL); |
896 | 896 | ||
897 | if (!page) | 897 | if (!page) |
898 | return -ENOMEM; | 898 | return -ENOMEM; |