public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Athanasius <Athanasius@gurus.tf>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Athlon XP 1600+ and _mmx_memcpy symbol in modules
Date: Wed, 9 Jan 2002 18:22:24 +0000	[thread overview]
Message-ID: <20020109182224.GI15688@gurus.tf> (raw)

Hi,
  I've just upraded from my old PII-400 system to an Athlon XP 1600+
based system so changed from "Pentium-Pro/Celeron/Pentium-II"
(CONFIG_M686) to "Athlon/Duron/K7" (CONFIG_MK7).  In doing so I suddenly
saw a LOT of problems with modules and the symbol _mmx_memcpy being
undefined.

  I finally kludged/fixed this by changing line 121 of
arch/i386/kernel/i386_ksyms.c from:

EXPORT_SYMBOL(_mmx_memcpy);

into:

EXPORT_SYMBOL_NOVERS(_mmx_memcpy);

That's on a vanilla 2.4.17 source tree.

Patch:

--- linux-2.4.17/arch/i386/kernel/i386_ksyms.c  Tue Nov 13 17:13:20 2001
+++ linux-2.4.17-athlon/arch/i386/kernel/i386_ksyms.c   Wed Jan  9 17:32:19 2002
@@ -118,7 +118,7 @@
 #endif
 
 #ifdef CONFIG_X86_USE_3DNOW
-EXPORT_SYMBOL(_mmx_memcpy);
+EXPORT_SYMBOL_NOVERS(_mmx_memcpy);
 EXPORT_SYMBOL(mmx_clear_page);
 EXPORT_SYMBOL(mmx_copy_page);
 #endif
-- 
- Athanasius = Athanasius(at)gurus.tf / http://www.clan-lovely.org/~athan/
                  Finger athan(at)fysh.org for PGP key
	   "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

             reply	other threads:[~2002-01-09 18:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-09 18:22 Athanasius [this message]
2002-01-09 19:05 ` [PATCH] Athlon XP 1600+ and _mmx_memcpy symbol in modules arjan
2002-01-09 22:08   ` Athanasius
2002-01-09 22:34     ` Athanasius

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=20020109182224.GI15688@gurus.tf \
    --to=athanasius@gurus.tf \
    --cc=linux-kernel@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox