Skip to contentSkip to conversation

use movntq version of fast_clear_page/fast_copy_page on Geode

PATCH New Marcelo Tosatti 1 participant 1 message Feb 14, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 use movntq version of fast_clear_page/fast_copy_page on Geode

movntq instruction is supported by Geode CPU's, so use fast_clear_page/fast_copy_page versions that have it.

arch/i386/lib/mmx.c +1 -1
index 28084d2..ddc1421 100644
@@ -121,7 +121,7 @@ void *_mmx_memcpy(void *to, const void *
 	return p;
 }
 
-#ifdef CONFIG_MK7
+#if defined (CONFIG_MK7) || defined(CONFIG_MGEODE_LX)
 
 /*
  *	The K7 has streaming cache bypass load/store. The Cyrix III, K6 and