From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266073AbUHIFQv (ORCPT ); Mon, 9 Aug 2004 01:16:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266085AbUHIFQv (ORCPT ); Mon, 9 Aug 2004 01:16:51 -0400 Received: from [218.44.239.78] ([218.44.239.78]:61113 "EHLO webmasters.gr.jp") by vger.kernel.org with ESMTP id S266073AbUHIFQj (ORCPT ); Mon, 9 Aug 2004 01:16:39 -0400 Date: Mon, 09 Aug 2004 14:16:25 +0900 Message-ID: <81smaw6gd2.wl@omega.webmasters.gr.jp> From: GOTO Masanori To: Benjamin Herrenschmidt , Paul Mackerras Cc: linux-kernel@vger.kernel.org, gotom@debian.or.jp Subject: [PATCH] Remove unneeded #ifdef kernel from ppc unaligned.h User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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__ */