linux-mips
[Top] [All Lists]

Re: Ideas on removing a compiler warning in 'init_task.c' ...

To: "Steven J. Hill" <sjhill@realitydiluted.com>
Subject: Re: Ideas on removing a compiler warning in 'init_task.c' ...
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 21 Dec 2004 01:25:06 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <41C377ED.1040502@realitydiluted.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <41C377ED.1040502@realitydiluted.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Fri, Dec 17, 2004 at 06:21:01PM -0600, Steven J. Hill wrote:

> I actually broke out the macro and it is complaining about the 
> initialization
> of 'action' member in the 'sighand_struct' defined in 
> 'include/linux/sched.h'.
> 
>   struct sighand_struct {
>           atomic_t                count;
>           struct k_sigaction      action[_NSIG];
>           spinlock_t              siglock;
>   };
> 
> I do not see this when compiling x86 code and the MIPS structure is
> not that drastically different IMHO. Anyone have some ideas on this
> one?

The members of struct sigaction are ordered differently on MIPS.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>