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/