* raid6altivec does not compile on ppc32
@ 2005-02-25 0:17 Andreas Schwab
2005-02-25 0:19 ` H. Peter Anvin
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2005-02-25 0:17 UTC (permalink / raw)
To: hpa; +Cc: linux-kernel
On ppc32 cur_cpu_spec is an array of pointers, not just a pointer like on
ppc64.
drivers/md/raid6altivec1.c: In function `raid6_have_altivec':
drivers/md/raid6altivec1.c:111: error: request for member `cpu_features' in something not a structure or union
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: raid6altivec does not compile on ppc32
2005-02-25 0:17 raid6altivec does not compile on ppc32 Andreas Schwab
@ 2005-02-25 0:19 ` H. Peter Anvin
2005-02-25 0:38 ` Olof Johansson
0 siblings, 1 reply; 3+ messages in thread
From: H. Peter Anvin @ 2005-02-25 0:19 UTC (permalink / raw)
To: Andreas Schwab; +Cc: linux-kernel
Andreas Schwab wrote:
> On ppc32 cur_cpu_spec is an array of pointers, not just a pointer like on
> ppc64.
>
> drivers/md/raid6altivec1.c: In function `raid6_have_altivec':
> drivers/md/raid6altivec1.c:111: error: request for member `cpu_features' in something not a structure or union
>
I think this is being discussed on the ppc development list. It's
apparently turned into a "we have a problem, let's fix it the right way."
-hpa
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: raid6altivec does not compile on ppc32
2005-02-25 0:19 ` H. Peter Anvin
@ 2005-02-25 0:38 ` Olof Johansson
0 siblings, 0 replies; 3+ messages in thread
From: Olof Johansson @ 2005-02-25 0:38 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Andreas Schwab, linux-kernel
On Thu, Feb 24, 2005 at 04:19:28PM -0800, H. Peter Anvin wrote:
> Andreas Schwab wrote:
> >On ppc32 cur_cpu_spec is an array of pointers, not just a pointer like on
> >ppc64.
> >
> >drivers/md/raid6altivec1.c: In function `raid6_have_altivec':
> >drivers/md/raid6altivec1.c:111: error: request for member `cpu_features'
> >in something not a structure or union
> >
>
> I think this is being discussed on the ppc development list. It's
> apparently turned into a "we have a problem, let's fix it the right way."
cpu_has_feature() is in 2.6.11-rc4-mm1, it takes care of it.
-Olof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-25 0:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-25 0:17 raid6altivec does not compile on ppc32 Andreas Schwab
2005-02-25 0:19 ` H. Peter Anvin
2005-02-25 0:38 ` Olof Johansson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.