Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933868AbYGRAM5 (ORCPT ); Thu, 17 Jul 2008 20:12:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933511AbYGRAKG (ORCPT ); Thu, 17 Jul 2008 20:10:06 -0400 Received: from wf-out-1314.google.com ([209.85.200.168]:12092 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761023AbYGRAKD (ORCPT ); Thu, 17 Jul 2008 20:10:03 -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=QCOE+wiKDbFWKEyoEXqycQ8yD0A2PeLw8A2muXFUpAnH8fckW98WA82RprRxWLeKxl pFSUzMtZm7gdQdCWTU1KsCAA8dXHke5nns/FifRdtmyRyLEBbMSsoOKqdoPuY5VEfIh8 /RXqoVI8AIHb0QASMVeurfVFrJX3cD0h/VD5Y= Subject: [PATCH 09/20] m32r: use the new byteorder headers From: Harvey Harrison To: Andrew Morton Cc: LKML , Hirokazu Takata Content-Type: text/plain Date: Thu, 17 Jul 2008 17:09:39 -0700 Message-Id: <1216339779.6029.120.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: 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.5.6.3.569.ga9185 -- 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/