LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo@kvack.org>
To: Jordan Crouse <jordan.crouse@amd.com>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] use movntq version of fast_clear_page/fast_copy_page on Geode
Date: Wed, 14 Feb 2007 17:17:02 -0200	[thread overview]
Message-ID: <20070214191702.GA5071@dmt.lan> (raw)


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


             reply	other threads:[~2007-02-14 19:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-14 19:17 Marcelo Tosatti [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-02-14 19:08 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070214191702.GA5071@dmt.lan \
    --to=marcelo@kvack.org \
    --cc=akpm@linux-foundation.org \
    --cc=jordan.crouse@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PATCH] use movntq version of fast_clear_page/fast_copy_page on Geode' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).