Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion trivial fix for 2.6.11 raid6 compilation on ppc w/ Altivec
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rene Rebe  
View profile  
 More options Mar 3 2005, 1:30 pm
Newsgroups: linux.kernel
From: Rene Rebe <r...@exactcode.de>
Date: Thu, 03 Mar 2005 19:30:19 +0100
Local: Thurs, Mar 3 2005 1:30 pm
Subject: [PATCH] trivial fix for 2.6.11 raid6 compilation on ppc w/ Altivec
Hi,

--- linux-2.6.11/drivers/md/raid6altivec.uc.vanilla     2005-03-02
16:44:56.407107752 +0100
+++ linux-2.6.11/drivers/md/raid6altivec.uc     2005-03-02
16:45:22.424152560 +0100
@@ -108,7 +108,7 @@
  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

Yours,

--
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
             http://www.exactcode.de/ | http://www.t2-project.org/
             +49 (0)30  255 897 45

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google