2003-05-26 11:17:13

by Jasper Spaans

[permalink] [raw]
Subject: [BUG/PATCH] mga-dri with highmem broken

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.''