Update of /cvsroot/alsa/alsa-driver/drivers/vx
In directory sc8-pr-cvs1:/tmp/cvs-serv7712
Modified Files:
vx_pcm.c
Log Message:
2.4.18 seems already having vmalloc_to_page()...
Index: vx_pcm.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/drivers/vx/vx_pcm.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vx_pcm.c 9 Jan 2003 16:13:15 -0000 1.1
+++ vx_pcm.c 10 Jan 2003 10:35:26 -0000 1.2
@@ -1,7 +1,7 @@
/* to be in alsa-driver-specfici code */
#include <linux/config.h>
#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
static struct page *vmalloc_to_page(void *pageptr);
#endif
#define __NO_VERSION__
@@ -31,7 +31,6 @@
#include <sound/driver.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
-#include <linux/pagemap.h>
#include <sound/core.h>
#include <sound/asoundef.h>
#include <sound/pcm.h>
@@ -86,6 +85,7 @@
}
+#if 0 /* NOT USED */
/*
* vx_flush_read - read rest of bytes via normal transfer mode
* @count: frames to read
@@ -122,6 +122,7 @@
count -= 3;
}
}
+#endif /* NOT USED */
/*
* vx_set_pcx_time - convert from the PC time to the RMH status time.
@@ -1143,7 +1144,7 @@
}
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
static struct page *vmalloc_to_page(void *pageptr)
{
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog