]> git.hungrycats.org Git - linux/commitdiff
[PATCH] drm_mga bitops -> long fix
authorMikael Pettersson <mikpe@csd.uu.se>
Thu, 1 Aug 2002 05:22:57 +0000 (22:22 -0700)
committerChristoph Hellwig <hch@sb.bsdonline.org>
Thu, 1 Aug 2002 05:22:57 +0000 (22:22 -0700)
Silence bitop on non-long argument warnings.

[ Not just silence warnings, but fix portability bug ]

drivers/char/drm/mga_drv.h

index ba2602e73b50c544097ee3ce99e586dbd7cf9605..1f5d9675583a2ca0e1af791d4b6148735509f758 100644 (file)
@@ -38,7 +38,7 @@ typedef struct drm_mga_primary_buffer {
 
        u32 tail;
        int space;
-       volatile int wrapped;
+       volatile long wrapped;
 
        volatile u32 *status;