Re: [PATCH] 2.5.69-bk19 drm_memory.h compilation error

From: Grzegorz Jaskiewicz (gj@pointblue.com.pl)
Date: Mon May 26 2003 - 09:46:16 EST


On Mon, 2003-05-26 at 15:31, Christoph Hellwig wrote:

> Just include linux/highmem.h (never the asm version!) uncodintionally amd remove
> the noisy comment.

diff -ur 1/drivers/char/drm/drm_memory.h 2/drivers/char/drm/drm_memory.h
--- 1/drivers/char/drm/drm_memory.h 2003-05-26 14:40:31.000000000
+0100
+++ 2/drivers/char/drm/drm_memory.h 2003-05-26 15:28:08.000000000
+0100
@@ -32,6 +32,10 @@
#include <linux/config.h>
#include "drmP.h"

+#ifdef CONFIG_HIGHMEM
+#include <linux/highmem.h>
+#endif
+
/* Cut down version of drm_memory_debug.h, which used to be called
* drm_memory.h. If you want the debug functionality, change 0 to 1
* below.

--
Grzegorz Jaskiewicz <gj@xxxxxxxxxxxxxxxx>
K4 labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/