linux-mips
[Top] [All Lists]

Re: [RFC] Add 4/8 bytes to 'struct k_sigaction'...

To: Christoph Hellwig <hch@lst.de>
Subject: Re: [RFC] Add 4/8 bytes to 'struct k_sigaction'...
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Thu, 6 Jan 2005 17:12:48 +0100
Cc: "Steven J. Hill" <sjhill@realitydiluted.com>, linux-mips@linux-mips.org
In-reply-to: <20050106154852.GA23433@lst.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <41DCC038.9000307@realitydiluted.com> <20050106154852.GA23433@lst.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6+20040907i
Christoph Hellwig wrote:
> > --- signal.h        30 Sep 2003 14:27:29 -0000      1.17
> > +++ signal.h        6 Jan 2005 04:21:58 -0000
> > @@ -135,7 +135,7 @@
> > 
> >  struct k_sigaction {
> >     struct sigaction sa;
> > -#ifdef CONFIG_BINFMT_IRIX
> > +#if !defined(CONFIG_CPU_LITTLE_ENDIAN)
> >     void            (*sa_restorer)(void);
> >  #endif
> 
> #ifdef __mipseb__ maybe?

AFAICS most parts of the kernel seem to prefer CONFIG_CPU_LITTLE_ENDIAN
over compiler-dependent macros. (And IIRC it would need to be __MIPSEB.)


Thiemo

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