[PATCH] Remove unneeded #ifdef kernel from ppc unaligned.h
From: GOTO Masanori
Date: Mon Aug 09 2004 - 00:17:55 EST
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.
Signed-off-by: GOTO Masanori <gotom@xxxxxxxxxxxx>
--- include/asm-ppc/unaligned.h 2003-12-15 22:57:40.000000000 +0900
+++ include/asm-ppc/unaligned.h.new 2004-08-09 12:17:16.000000000 +0900
@@ -1,4 +1,3 @@
-#ifdef __KERNEL__
#ifndef __PPC_UNALIGNED_H
#define __PPC_UNALIGNED_H
@@ -15,4 +14,3 @@
#define put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))
#endif
-#endif /* __KERNEL__ */
-
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/