lkml.org 
[lkml]   [2003]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sizeof (siginfo_t) problem
On Tue, Jul 15, 2003 at 03:11:23AM +1000, Stephen Rothwell wrote:
> > This is not correct for the merged header.
> > It needs to be:
> > #ifdef __s390x__
> > #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
> > #endif
>
> OK, I can see that (although is __s390x__ defined when building a
> 32 (31?) bit kernel on a 64bit s390?).

__s390x__ is defined when doing 64-bit compile targetted to s390.
Ie. gcc -m64 defines it, gcc -m31 does not.

> > Furthermore, there needs to be a pad inserted fo arch/s390x/kernel/signal.c
> ^^^^^
> s390? (there is no arch/s390x in 2.6.0-test1)

Then that pad needs to be #ifdef __s390x__ as well.
>
> > (rt_sigframe right after info member) to keep binary compatibility.

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

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.331 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site