Update of /cvsroot/alsa/alsa-driver/acore
In directory sc8-pr-cvs1:/tmp/cvs-serv2907

Modified Files:
        memalloc.c memory_wrapper.c sgbuf.c 
Log Message:
Make necessary changes to allow compilation in our tree (symbol versions)

Index: memalloc.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/memalloc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- memalloc.c  28 Feb 2003 14:32:09 -0000      1.1
+++ memalloc.c  28 Feb 2003 19:16:44 -0000      1.2
@@ -1,6 +1,13 @@
-#include <linux/version.h>
 #include "config.h"
-#include "adriver.h"
+#include <linux/config.h>
+#include <linux/version.h>
+
+#if defined(CONFIG_MODVERSIONS) && !defined(__GENKSYMS__) && !defined(__DEPEND__)
+#define MODVERSIONS
+#include <linux/modversions.h>
+#include "sndversions.h"
+#endif
+
 #include "../alsa-kernel/core/memalloc.c"
 
 /* compatible functions */

Index: memory_wrapper.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/memory_wrapper.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- memory_wrapper.c    28 Feb 2003 14:32:10 -0000      1.1
+++ memory_wrapper.c    28 Feb 2003 19:16:44 -0000      1.2
@@ -1,5 +1,13 @@
 #define __NO_VERSION__
+#include <linux/config.h>
 #include <linux/version.h>
+
+#if defined(CONFIG_MODVERSIONS) && !defined(__GENKSYMS__) && !defined(__DEPEND__)
+#define MODVERSIONS
+#include <linux/modversions.h>
+#include "sndversions.h"
+#endif
+
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)
 #include "../alsa-kernel/core/memory_wrapper.c"
 #else

Index: sgbuf.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/sgbuf.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sgbuf.c     28 Feb 2003 14:32:12 -0000      1.1
+++ sgbuf.c     28 Feb 2003 19:16:45 -0000      1.2
@@ -1,9 +1,16 @@
 #define __NO_VERSION__
+#include <linux/config.h>
 #include <linux/version.h>
+
+#if defined(CONFIG_MODVERSIONS) && !defined(__GENKSYMS__) && !defined(__DEPEND__)
+#define MODVERSIONS
+#include <linux/modversions.h>
+#include "sndversions.h"
+#endif
+
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0)
 #include "../alsa-kernel/core/sgbuf.c"
 #else
-#include "adriver.h"
 
 /*
  * we don't have vmap/vunmap, so use vmalloc_32 and vmalloc_dma instead



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to