Skip to contentSkip to conversation

mga-dri with highmem broken

BUG/PATCH Jasper Spaans 1 participant 1 message May 26, 2003

lore
Share & tools
lore
#0 lore raw

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

char/drm/drm_memory.h +5 -0
diff -u -r1.9 drm_memory.h
@@ -52,6 +52,11 @@
 # endif
 #endif
 
+#ifdef CONFIG_HIGHMEM
+# include <asm/highmem.h>
+#endif
+
+
 #include <asm/tlbflush.h>
 
 /*

Bye, Jasper

Signature · 4 lines
Jasper Spaans
http://jsp.vs19.net/contact/

``Got no clue? Too bad for you.''