Re: [PATCH] Remove unneeded #ifdef kernel from ppc unaligned.h

From: Benjamin Herrenschmidt
Date: Mon Aug 09 2004 - 17:42:41 EST


On Mon, 2004-08-09 at 18:16, GOTO Masanori wrote:
> At Mon, 09 Aug 2004 18:07:45 +1000,
> Benjamin Herrenschmidt wrote:
> > On Mon, 2004-08-09 at 15:16, GOTO Masanori wrote:
> > > This patch removes unneeded #ifdef __KERNEL__ from ppc unaligned.h.
> > > There's no reason to enclose __KERNEL__, similar to other
> > > architectures. It also fixes the compilation failure building
> > > userland helper application reiserfsprogs on ppc which includes
> > > asm/unaligned.h.
> >
> > Well, userland isn't supposed to use those ...
>
> I know. It's just side effect. But there's no reason to enclose
> #ifdef __KERNEL__.

Hrm... I'd say there is no reason not to enclose it in it, but I'll
let Paul make a final decision here.

Ben.


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