Skip to contentSkip to conversation

i810 fb and x86-64

PATCH New Andi Kleen 1 participant 1 message Mar 6, 2004 Framebuffer layer

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 i810 fb and x86-64

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

drivers/video/i810/i810_main.h renamed from drivers/video/i810/i810_main.h-o +1 -1
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
@@ -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");