lkml.org 
[lkml]   [1998]   [Jan]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 18 Jan 1998 15:11:52 +0000 (GMT)
FromBernhard Rosenkraenzer <>
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 12:41    [W:0.123 / U:0.220 seconds]
©2003-2008 Jasper Spaans