Re: soundcard.c in pre-2.1.80-3

Sander van Malssen (svm@kozmix.ow.nl)
Fri, 16 Jan 1998 23:46:36 +0100


On Friday, 16 January 1998 at 16:51:32 +0000, Kjartan Maraas wrote:

> I'm wondering if anyone has a fix to make soundcard.c
> compile with pre-patch-2.1.80-3.
>
> The changes in __get_free_pages seems to be the culprit.
>
> (Removal of one argument: int dma, to be exact.)

Changing the call to

__get_free_pages(GFP_ATOMIC|GFP_DMA, sz)

should to the trick.

Cheers,
Sander

-- 
Sander van Malssen -- svm@kozmix.ow.nl -- http://www.cistron.nl/~svm/
        * The 1-2-5 Page: http://www.cistron.nl/~svm/music/ *