lkml.org 
[lkml]   [2006]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] Dont build altivec raid on x86
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 := md.o bitmap.o
raid6-objs := 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) := raid6altivec1.o raid6altivec2.o \
+ raid6altivec4.o raid6altivec8.o
+raid6-$(CONFIG_X86) := raid6mmx.o raid6sse1.o raid6sse2.o
hostprogs-y := mktables

# Note: link order is important. All raid personalities

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
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))
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-03-27 22:31    [W:0.993 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site