All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] use movntq version of fast_clear_page/fast_copy_page on Geode
@ 2007-02-14 19:08 Marcelo Tosatti
  2007-02-14 19:55 ` Dave Jones
  2007-02-14 21:16 ` Alan
  0 siblings, 2 replies; 8+ messages in thread
From: Marcelo Tosatti @ 2007-02-14 19:08 UTC (permalink / raw)
  To: Jordan Crouse, Andrew Morton; +Cc: linux-kernel


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

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

diff --git a/arch/i386/lib/mmx.c b/arch/i386/lib/mmx.c
index 28084d2..ddc1421 100644
--- a/arch/i386/lib/mmx.c
+++ b/arch/i386/lib/mmx.c
@@ -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

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] use movntq version of fast_clear_page/fast_copy_page on Geode
@ 2007-02-14 19:17 Marcelo Tosatti
  0 siblings, 0 replies; 8+ messages in thread
From: Marcelo Tosatti @ 2007-02-14 19:17 UTC (permalink / raw)
  To: Jordan Crouse, Andrew Morton; +Cc: linux-kernel


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

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

diff --git a/arch/i386/lib/mmx.c b/arch/i386/lib/mmx.c
index 28084d2..ddc1421 100644
--- a/arch/i386/lib/mmx.c
+++ b/arch/i386/lib/mmx.c
@@ -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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-02-15 15:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 19:08 [PATCH] use movntq version of fast_clear_page/fast_copy_page on Geode Marcelo Tosatti
2007-02-14 19:55 ` Dave Jones
2007-02-14 20:17   ` Marcelo Tosatti
2007-02-14 20:47     ` Dave Jones
2007-02-14 21:23     ` Arjan van de Ven
2007-02-14 21:16 ` Alan
2007-02-15 15:01   ` Marcelo Tosatti
2007-02-14 19:17 Marcelo Tosatti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.