lkml.org 
[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Remove unneeded #ifdef kernel from ppc unaligned.h
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@debian.or.jp>

--- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.034 / U:3.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site