Commit c60af94e authored by rene@exactcode.de's avatar rene@exactcode.de Committed by Greg Kroah-Hartman

[PATCH] trivial fix for 2.6.11 raid6 compilation on ppc w/ Altivec

From: Rene Rebe <rene@exactcode.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1274fcd6
......@@ -108,7 +108,7 @@ int raid6_have_altivec(void);
int raid6_have_altivec(void)
{
/* This assumes either all CPUs have Altivec or none does */
return cur_cpu_spec->cpu_features & CPU_FTR_ALTIVEC;
return cur_cpu_spec[0]->cpu_features & CPU_FTR_ALTIVEC;
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment