Re: sizeof (siginfo_t) problem

Stephen Rothwell (sfr@canb.auug.org.au)
Tue, 15 Jul 2003 03:25:52 +1000


On Mon, 14 Jul 2003 13:14:01 -0400 Jakub Jelinek <jakub@redhat.com> wrote:
>
> __s390x__ is defined when doing 64-bit compile targetted to s390.
> Ie. gcc -m64 defines it, gcc -m31 does not.

That makes sense (since I now see that CONFIG_ARCH_S390X => -m64).

> Then that pad needs to be #ifdef __s390x__ as well.

But why pad at all since we have now increased the size of the siginfo
structure in the 64bit case (maybe I am being thick as it is 3:25am here
:-)).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-
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/