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

From: GOTO Masanori
Date: Mon Aug 09 2004 - 03:17:36 EST


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__.

Regards,
-- gotom

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