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

Mikael Pettersson (mikpe@csd.uu.se)
Sun, 11 Aug 2002 13:09:03 +0200 (MET DST)


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/