Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757127AbYKEShq (ORCPT ); Wed, 5 Nov 2008 13:37:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756092AbYKESfm (ORCPT ); Wed, 5 Nov 2008 13:35:42 -0500 Received: from yx-out-2324.google.com ([74.125.44.30]:48774 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756001AbYKESfl (ORCPT ); Wed, 5 Nov 2008 13:35:41 -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=EAL9PGFMpQ6HU2Bolr06VPnXCZU1HF9jzaLAnrxkCnxANhABkrWj5KnLh4lXRluLp9 EQQTzBgRYvdRbYr0xS/M87iTfWFwqc5lJjmPvjjLwuIm+UR9kazDL1tLi3nWiMfdO+Vc 53cb6gQoCIJC2Dr3/Ba8EK1hwyqQ4L0v4aqhw= Subject: [PATCH 07/10] m32r: use the new byteorder headers From: Harvey Harrison To: Hirokazu Takata Cc: Andrew Morton , LKML Content-Type: text/plain Date: Wed, 05 Nov 2008 10:35:29 -0800 Message-Id: <1225910129.5991.227.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: 1132 Lines: 42 Signed-off-by: Harvey Harrison --- include/asm-m32r/byteorder.h | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/include/asm-m32r/byteorder.h b/include/asm-m32r/byteorder.h index 10b2c1d..a99896f 100644 --- a/include/asm-m32r/byteorder.h +++ b/include/asm-m32r/byteorder.h @@ -1,17 +1,14 @@ #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 - #if defined(__LITTLE_ENDIAN__) -# include +# define __LITTLE_ENDIAN #else -# include +# define __BIG_ENDIAN #endif +#define __SWAB_64_THRU_32__ + +#include + #endif /* _ASM_M32R_BYTEORDER_H */ -- 1.6.0.3.756.gb776d -- 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/