Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756687AbZAFVi5 (ORCPT ); Tue, 6 Jan 2009 16:38:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751755AbZAFVcg (ORCPT ); Tue, 6 Jan 2009 16:32:36 -0500 Received: from yx-out-2324.google.com ([74.125.44.29]:23202 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754422AbZAFVcf (ORCPT ); Tue, 6 Jan 2009 16:32:35 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=idRet0CL1ILJGS9aZd009z2XfuVv71llMphMbaHG9xXZqlqAy6Gn6YjpxjvU8iOb7w 6G4vFLSwyRHGOf6Yn+ZQ2/ig0fVFDdL2KaByFtvnGLCVEY9RM/ZjzZ95IzRwhxoegIqu /Wgt2fPst7ICt0ExLIMImOXVlF67l6jkLZ2Ys= Subject: [PATCH 20/23] m32r: introduce asm/swab.h From: Harvey Harrison To: Linus Torvalds Cc: Andrew Morton , LKML Content-Type: text/plain Date: Tue, 06 Jan 2009 13:30:56 -0800 Message-Id: <1231277456.964.277.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1674 Lines: 59 Convert to the new-style arch overrides as well. Signed-off-by: Harvey Harrison --- include/asm-m32r/Kbuild | 1 + include/asm-m32r/byteorder.h | 7 +------ include/asm-m32r/swab.h | 10 ++++++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/include/asm-m32r/Kbuild b/include/asm-m32r/Kbuild index c68e168..27b108a 100644 --- a/include/asm-m32r/Kbuild +++ b/include/asm-m32r/Kbuild @@ -1 +1,2 @@ include include/asm-generic/Kbuild.asm +unifdef-y += swab.h diff --git a/include/asm-m32r/byteorder.h b/include/asm-m32r/byteorder.h index 10b2c1d..61ff9cf 100644 --- a/include/asm-m32r/byteorder.h +++ b/include/asm-m32r/byteorder.h @@ -1,12 +1,7 @@ #ifndef _ASM_M32R_BYTEORDER_H #define _ASM_M32R_BYTEORDER_H -#include - -#if !defined(__STRICT_ANSI__) || defined(__KERNEL__) -# define __BYTEORDER_HAS_U64__ -# define __SWAB_64_THRU_32__ -#endif +#include #if defined(__LITTLE_ENDIAN__) # include diff --git a/include/asm-m32r/swab.h b/include/asm-m32r/swab.h new file mode 100644 index 0000000..97973e1 --- /dev/null +++ b/include/asm-m32r/swab.h @@ -0,0 +1,10 @@ +#ifndef _ASM_M32R_SWAB_H +#define _ASM_M32R_SWAB_H + +#include + +#if !defined(__STRICT_ANSI__) || defined(__KERNEL__) +# define __SWAB_64_THRU_32__ +#endif + +#endif /* _ASM_M32R_SWAB_H */ -- 1.6.1.94.g9388 -- 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/