little patch to make sound compile on 2.1.80-4

Sebastian Kuzminsky (kuzminsk@taussky.cs.colorado.edu)
Tue, 20 Jan 1998 12:37:56 -0700


This makes sound compile on my system. I just copied the pattern in
the other __get_free_pages() diffs, a real kernel hacker might want to
check this before it's accepted...

--- soundcard.c.orig Tue Jan 20 11:21:52 1998
+++ soundcard.c Tue Jan 20 11:23:48 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;
}