Re: 2.5.68-mm3

From: Andrew Morton (akpm@digeo.com)
Date: Wed Apr 30 2003 - 19:04:46 EST


Ed Tomlinson <tomlins@cam.org> wrote:
>
> On April 30, 2003 02:59 am, Andrew Morton wrote:
> > Bits and pieces. Nothing major, apart from the dynamic request allocation
> > patch. This arbitrarily increases the maximum requests/queue to 1024, and
> > could well make large (and usually bad) changes to various benchmarks.
> > However some will be helped.
>
> Here is something a little broken. Suspect it might be in 68-bk too:
>
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.68-mm3; fi
> WARNING: /lib/modules/2.5.68-mm3/kernel/sound/oss/cs46xx.ko needs unknown symbol cs4x_ClearPageReserved
>

Yes, thanks. It's a case of search-n-replace-n-dont-test.

diff -puN sound/oss/cs46xx.c~cs46xx-PageReserved-fix sound/oss/cs46xx.c
--- 25/sound/oss/cs46xx.c~cs46xx-PageReserved-fix Wed Apr 30 17:03:41 2003
+++ 25-akpm/sound/oss/cs46xx.c Wed Apr 30 17:03:48 2003
@@ -1247,7 +1247,7 @@ static void dealloc_dmabuf(struct cs_sta
                 mapend = virt_to_page(dmabuf->rawbuf +
                                 (PAGE_SIZE << dmabuf->buforder) - 1);
                 for (map = virt_to_page(dmabuf->rawbuf); map <= mapend; map++)
- cs4x_ClearPageReserved(map);
+ ClearPageReserved(map);
                 free_dmabuf(state->card, dmabuf);
         }
 
@@ -1256,7 +1256,7 @@ static void dealloc_dmabuf(struct cs_sta
                 mapend = virt_to_page(dmabuf->tmpbuff +
                                 (PAGE_SIZE << dmabuf->buforder_tmpbuff) - 1);
                 for (map = virt_to_page(dmabuf->tmpbuff); map <= mapend; map++)
- cs4x_ClearPageReserved(map);
+ ClearPageReserved(map);
                 free_dmabuf2(state->card, dmabuf);
         }
 

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:37 EST