Another trivial fix..

This makes mga_do_dma_wrap_start()/mga_do_dma_wrap_end() 64bit safe... as
set_bit()/clear_bit() will cause an oops on an int on 64bit platforms.

Regards,

-- 
Paul Mundt <[EMAIL PROTECTED]>
MontaVista Software, Inc.

Index: mga_drv.h
===================================================================
RCS file: 
/cvsroot/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/mga_drv.h,v
retrieving revision 1.24
diff -u -r1.24 mga_drv.h
--- mga_drv.h   2001/08/10 16:29:21     1.24
+++ mga_drv.h   2002/01/22 12:28:50
@@ -38,7 +38,7 @@
 
        u32 tail;
        int space;
-       volatile int wrapped;
+       volatile long wrapped;
 
        volatile u32 *status;
 

Attachment: msg02476/pgp00000.pgp
Description: PGP signature

Reply via email to