PATCH: drivers/isdn/isdn_audio.c

From: Bernd Kischnick (kisch@mindless.com)
Date: Sun May 14 2000 - 18:58:36 EST


Hi all,
isdn_audio.c wouldn't compile on non-Intel plattforms.
This is fixed (2.3.99-pre8).
- Bernd

diff -ru linux/drivers/isdn/isdn_audio.c my/linux/drivers/isdn/isdn_audio.c
--- linux/drivers/isdn/isdn_audio.c Sun May 14 03:18:09 2000
+++ my/linux/drivers/isdn/isdn_audio.c Sun May 14 03:18:41 2000
@@ -307,8 +307,10 @@
         : "0"((long) table), "1"(n), "2"((long) buff), "3"((long) buff)
         : "memory", "ax");
 #else
+ unsigned char* b = (unsigned char*) buff;
+ unsigned char* t = (unsigned char*) table;
         while (n--)
- *buff++ = table[*(unsigned char *)buff];
+ *b++ = t[*b];
 #endif
 }
 

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



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:25 EST