lkml.org 
[lkml]   [1998]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] [2.1.80-pre4] soundcard.c
In 2.1.80-pre4, soundcard.c is still using the old-style __get_free_pages.
Here's a fix:

--- soundcard.c~ Tue Dec 30 19:02:39 1997
+++ soundcard.c Sun Jan 18 15:09:53 1998
@@ -1100,7 +1100,7 @@

dmap->buffsize = PAGE_SIZE * (1 << sz);

- if ((start_addr = (char *) __get_free_pages(GFP_ATOMIC,
sz, MAX_DMA_ADDRESS)) == NULL)
+ if ((start_addr = (char *) __get_free_pages(GFP_ATOMIC,
sz)) == NULL)
dmap->buffsize /= 2;
}

LLaP
bero

-- bero@bero-online.ml.org - ICQ/UIN 6545964 - http://www.star-trek.ml.org/ --

"Nobody will ever need more than 640k RAM!"
-- Bill Gates, 1981
"Windows 95 needs at least 8 MB RAM."
-- Bill Gates, 1996
"Nobody will ever need Windows 95."
-- logical conclusion



\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.289 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site