Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755433AbYJHGit (ORCPT ); Wed, 8 Oct 2008 02:38:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753346AbYJHGi3 (ORCPT ); Wed, 8 Oct 2008 02:38:29 -0400 Received: from wf-out-1314.google.com ([209.85.200.171]:41681 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753168AbYJHGi2 (ORCPT ); Wed, 8 Oct 2008 02:38:28 -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=RzRBWAj4s2jiJvLoGAY0SlQVfSvci+iz5GHpWSYa0pHeWDyY7MNcP+Vz4PB5Y7CMFE 3Rdhah5OJws7TWqCFOmcyNFuUlYeTESVvUbqXgDs7coiLGVUG1hddET2fv5IXwIA3UQ9 eoud3tNiIeAo6D2ji52xoLUICZE2A0ZBWSgfo= Subject: [PATCH 2/4] m32r: Change unaligned access to use packed struct implementation From: Harvey Harrison To: Hirokazu Takata Cc: Andrew Morton , LKML Content-Type: text/plain Date: Tue, 07 Oct 2008 23:38:23 -0700 Message-Id: <1223447903.8195.66.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.24.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1311 Lines: 39 Signed-off-by: Harvey Harrison --- There are only 3 arches that use the memmove-based implementation, there doesn't seem to be any obvious reason not to use the struct implementation. Hirokazu? include/asm-m32r/unaligned.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-m32r/unaligned.h b/include/asm-m32r/unaligned.h index 377eb20..86ea884 100644 --- a/include/asm-m32r/unaligned.h +++ b/include/asm-m32r/unaligned.h @@ -2,13 +2,13 @@ #define _ASM_M32R_UNALIGNED_H #if defined(__LITTLE_ENDIAN__) -# include +# include # include # include # define get_unaligned __get_unaligned_le # define put_unaligned __put_unaligned_le #else -# include +# include # include # include # define get_unaligned __get_unaligned_be -- 1.6.0.2.471.g47a76 -- 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/