Skip to contentSkip to conversation

fix drm/mga bitops on non-long operands bug

PATCH New Mikael Pettersson 1 participant 1 message Aug 11, 2002 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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

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

drivers/char/drm/mga_drv.h renamed from drivers/char/drm/mga_drv.h.~1~ +1 -1
@@ -38,7 +38,7 @@
 
 	u32 tail;
 	int space;
-	int wrapped;
+	unsigned long wrapped;
 
 	volatile u32 *status;