Re: [PATCH] Dont build altivec raid on x86

From: J.A. Magallon
Date: Mon Mar 27 2006 - 15:26:00 EST


--Sig_RPBMjGaG+SGtqJZvFRYgC4i
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Somenthing like this ?

--- linux/drivers/md/Makefile 2005-09-01 19:34:55.000000000 +0200
+++ linux/drivers/md/Makefile.new 2006-03-27 22:15:00.000000000 +0200
@@ -10,10 +10,10 @@
md-mod-objs :=3D md.o bitmap.o
raid6-objs :=3D raid6main.o raid6algos.o raid6recov.o raid6tables.o \
raid6int1.o raid6int2.o raid6int4.o \
- raid6int8.o raid6int16.o raid6int32.o \
- raid6altivec1.o raid6altivec2.o raid6altivec4.o \
- raid6altivec8.o \
- raid6mmx.o raid6sse1.o raid6sse2.o
+ raid6int8.o raid6int16.o raid6int32.o
+raid6-$(CONFIG_ALTIVEC) :=3D raid6altivec1.o raid6altivec2.o \
+ raid6altivec4.o raid6altivec8.o
+raid6-$(CONFIG_X86) :=3D raid6mmx.o raid6sse1.o raid6sse2.o
hostprogs-y :=3D mktables
=20
# Note: link order is important. All raid personalities


--
J.A. Magallon <jamagallon()able!es> \ Software is like se=
x:
werewolf!able!es \ It's better when it's fr=
ee
Mandriva Linux release 2006.1 (Cooker) for i586
Linux 2.6.16-jam1 (gcc 4.0.3 (4.0.3-1mdk for Mandriva Linux release 2006.1))

--Sig_RPBMjGaG+SGtqJZvFRYgC4i
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEKErxRlIHNEGnKMMRAuyAAJ9zbPIt/GAC74TQt7Uaw+ZX5KyfVQCcDf+E
m/lY97G1P7/+fz1cBryWm24=
=q4Iy
-----END PGP SIGNATURE-----

--Sig_RPBMjGaG+SGtqJZvFRYgC4i--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/