Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755664AbYJHGjL (ORCPT ); Wed, 8 Oct 2008 02:39:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753680AbYJHGib (ORCPT ); Wed, 8 Oct 2008 02:38:31 -0400 Received: from rv-out-0506.google.com ([209.85.198.237]:10016 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753487AbYJHGia (ORCPT ); Wed, 8 Oct 2008 02:38:30 -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=Vd0OvYOiNjEdAN77Vmup1zLhjUPLacUzMtHoPoRKZONQKneb7fIgWef2NLA7kOAorO To/G9/45Y2cURcm926GYb61ECZktwqoCrEU+e/KVQhVWcyZk2ESBAuxYYNrAUykIgHry 8SRRUwYNR+z3gaT/zSRNaARS2bkv3fcypxUC0= Subject: [PATCH 3/4] xtensa: Change unaligned access to use packed struct implementation From: Harvey Harrison To: Chris Zankel Cc: Andrew Morton , LKML Content-Type: text/plain Date: Tue, 07 Oct 2008 23:38:24 -0700 Message-Id: <1223447904.8195.67.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: 1335 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. Chris? include/asm-xtensa/unaligned.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-xtensa/unaligned.h b/include/asm-xtensa/unaligned.h index 8f3424f..1a242b2 100644 --- a/include/asm-xtensa/unaligned.h +++ b/include/asm-xtensa/unaligned.h @@ -11,13 +11,13 @@ #define _ASM_XTENSA_UNALIGNED_H #ifdef __XTENSA_EL__ -# include +# include # include # include # define get_unaligned __get_unaligned_le # define put_unaligned __put_unaligned_le #elif defined(__XTENSA_EB__) -# 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/