Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757559AbYHSAvE (ORCPT ); Mon, 18 Aug 2008 20:51:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756494AbYHSAsR (ORCPT ); Mon, 18 Aug 2008 20:48:17 -0400 Received: from wf-out-1314.google.com ([209.85.200.169]:56504 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756489AbYHSAsP (ORCPT ); Mon, 18 Aug 2008 20:48:15 -0400 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=pvwDW1g9k5mfpVjkPldbXKT9f/9WYfgFKk5n3T3xgOW7V4bKIWM5KGCHJ1k+VULL/i p6JyMtp6/sOQHqGVIfasvir174ZnB6A/EOaYbEIvhDXqCE0Yejp1Lf4iwVJ4Q0nM9+zq /btd+6Wm6TO8jfflXP6Pm3NxAf8NIzW8MlvSA= Subject: [PATCH 09/23] m32r: use the new byteorder headers From: Harvey Harrison To: Andrew Morton Cc: LKML Content-Type: text/plain Date: Mon, 18 Aug 2008 17:48:06 -0700 Message-Id: <1219106886.17033.62.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1130 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.274.g8aacc -- 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/