[PATCH] i810 fb and x86-64

From: Andi Kleen
Date: Sat Mar 06 2004 - 11:34:51 EST



i810fb most likely is needed on x86-64 too because there are Intel chipsets
for it now. So far it only linked on i386, fix this.

-Andi

diff -u linux-2.6.4rc2-amd64/drivers/video/i810/i810_main.h-o linux-2.6.4rc2-amd64/drivers/video/i810/i810_main.h
--- linux-2.6.4rc2-amd64/drivers/video/i810/i810_main.h-o 2004-03-05 18:28:00.000000000 +0100
+++ linux-2.6.4rc2-amd64/drivers/video/i810/i810_main.h 2004-03-11 21:08:26.000000000 +0100
@@ -84,7 +84,7 @@
extern void i810fb_load_front (u32 offset, struct fb_info *info);

/* Conditionals */
-#if defined(__i386__)
+#ifdef CONFIG_X86
inline void flush_cache(void)
{
asm volatile ("wbinvd":::"memory");
-
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/