* [patch[ 2.4.1-pre3 HAVE_XMM compile error
@ 2001-01-12 3:35 Mohammad A. Haque
0 siblings, 0 replies; only message in thread
From: Mohammad A. Haque @ 2001-01-12 3:35 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
patch to let 2.4.1-pre3 compile on PIII
we are moving from HAVE_XMM to cpu_has_xmm right?
--
=====================================================================
Mohammad A. Haque http://www.haque.net/
mhaque@haque.net
"Alcohol and calculus don't mix. Project Lead
Don't drink and derive." --Unknown http://wm.themes.org/
batmanppc@themes.org
=====================================================================
[-- Attachment #2: xmm-fix.diff --]
[-- Type: text/plain, Size: 703 bytes --]
--- linux/include/asm-i386/xor.h.orig Thu Jan 11 21:55:49 2001
+++ linux/include/asm-i386/xor.h Thu Jan 11 22:22:18 2001
@@ -843,7 +843,7 @@
do { \
xor_speed(&xor_block_8regs); \
xor_speed(&xor_block_32regs); \
- if (HAVE_XMM) \
+ if (cpu_has_xmm) \
xor_speed(&xor_block_pIII_sse); \
if (md_cpu_has_mmx()) { \
xor_speed(&xor_block_pII_mmx); \
@@ -855,4 +855,4 @@
We may also be able to load into the L1 only depending on how the cpu
deals with a load to a line that is being prefetched. */
#define XOR_SELECT_TEMPLATE(FASTEST) \
- (HAVE_XMM ? &xor_block_pIII_sse : FASTEST)
+ (cpu_has_xmm ? &xor_block_pIII_sse : FASTEST)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-01-12 3:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-12 3:35 [patch[ 2.4.1-pre3 HAVE_XMM compile error Mohammad A. Haque
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox