Re: [PATCH] use 1ULL instead of 1UL in kernel/signal.c

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 22 2002 - 18:17:12 EST


On Tue, 2002-10-22 at 22:48, Matthew Wilcox wrote:
> On Tue, Oct 22, 2002 at 10:57:59PM +0100, Alan Cox wrote:
> > On Tue, 2002-10-22 at 22:27, Matthew Wilcox wrote:
> > >
> > > On PA-RISC we have 36 signals defined for hpux compatibility. So M()
> > > and T() in kernel/signal.c try to do (1UL << 33) which is garbage on 32-bit
> > > architectures. How do people feel about this patch?
> >
> > How does the compiler output look ?
>
> uhh.. 200 bytes extra on x86 ;-(
>
> -rw-r--r-- 1 willy users 17956 Oct 22 14:44 kernel/signal.o
> -rw-r--r-- 1 willy users 17748 Oct 22 06:50 kernel/signal.o_orig

Care to move the define into include/asm-foo then ?

-
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/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:01:01 EST