[parisc-linux] ldcw in __pthread_acquire
Alan Modra
alan@linuxcare.com.au
Sun, 17 Dec 2000 15:31:19 +1100 (EST)
On 16 Dec 2000, Jes Sorensen wrote:
> >>>>> "Matthew" == Matthew Wilcox <matthew@wil.cx> writes:
>
> Matthew> On Fri, Dec 15, 2000 at 06:32:12PM +0100, Jes Sorensen wrote:
> >> We probably cannot, we can however create our own version of the
> >> header file for the parisc port.
>
> Matthew> That was what I meant. the question is, would it _work_? Or
> Matthew> is this struct embedded in other structs at
> Matthew> non-16byte-aligned positions?
>
> That can be solved by adding an aligned attribute to the struct definition.
Doesn't a struct automatically inherit the maximum alignment of its
fields?
--
Linuxcare. Support for the Revolution.