[PATCH] fix drm/mga bitops on non-long operands bug

From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Sun Aug 11 2002 - 06:09:03 EST


The drm update from cvs in 2.5.31 reintroduced the mga driver's
bitops on non-long operands bug. The patch below fixes it.

/Mikael

--- linux-2.5.31/drivers/char/drm/mga_drv.h.~1~ Sun Aug 11 11:29:30 2002
+++ linux-2.5.31/drivers/char/drm/mga_drv.h Sun Aug 11 11:58:20 2002
@@ -38,7 +38,7 @@
 
         u32 tail;
         int space;
- int wrapped;
+ unsigned long wrapped;
 
         volatile u32 *status;
 
-
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/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:24 EST