[svn-commits] sruffell: linux/trunk r6552 - /linux/trunk/drivers/dahdi/wcb4xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri May 1 11:42:58 CDT 2009


Author: sruffell
Date: Fri May  1 11:42:54 2009
New Revision: 6552

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6552
Log:
wcb4xxp: Define mmiowb if not already defined.

Linux kernel 2.6.9 does not define mmiowb. DAHDI-253

Modified:
    linux/trunk/drivers/dahdi/wcb4xxp/base.c

Modified: linux/trunk/drivers/dahdi/wcb4xxp/base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/base.c?view=diff&rev=6552&r1=6551&r2=6552
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/base.c Fri May  1 11:42:54 2009
@@ -86,6 +86,10 @@
 static int vpmsupport = 1;
 static int timer_1_ms = 2000;
 static int timer_3_ms = 30000;
+
+#if !defined(mmiowb)
+#define mmiowb() barrier()
+#endif
 
 #define MAX_B4_CARDS 64
 static struct b4xxp *cards[MAX_B4_CARDS];




More information about the svn-commits mailing list