[BUG/PATCH] mga-dri with highmem broken

Jasper Spaans (jasper@vs19.net)
Mon, 26 May 2003 13:30:23 +0200


Hello,

When compiling with DRM_MGA and HIGHMEM set, compilation of current BK
fails; the following diff makes it compile but doesn't look clean to me.
Does anyone have a better proposal?

Index: drivers/char/drm/drm_memory.h
===================================================================
RCS file: /home/cvs/linux-2.5/drivers/char/drm/drm_memory.h,v
retrieving revision 1.9
diff -u -r1.9 drm_memory.h
--- drivers/char/drm/drm_memory.h 24 May 2003 19:57:47 -0000 1.9
+++ drivers/char/drm/drm_memory.h 26 May 2003 10:23:29 -0000
@@ -52,6 +52,11 @@
# endif
#endif

+#ifdef CONFIG_HIGHMEM
+# include <asm/highmem.h>
+#endif
+
+
#include <asm/tlbflush.h>

/*

Bye, Jasper

-- 
Jasper Spaans
http://jsp.vs19.net/contact/

``Got no clue? Too bad for you.'' - 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/