Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755790AbYFXA3p (ORCPT ); Mon, 23 Jun 2008 20:29:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755728AbYFXA3H (ORCPT ); Mon, 23 Jun 2008 20:29:07 -0400 Received: from yw-out-2324.google.com ([74.125.46.31]:43395 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751484AbYFXA3F (ORCPT ); Mon, 23 Jun 2008 20:29:05 -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=xWgYk6ip/WoleUPSyQ9Axsv9Xa1Ci/nq9IEYSKPH5Cb3WKcJie6nXgUEyjIgZ8F4G5 15N/wFspu7XtRTUYQMABCunrJq0AkykY/CAM1aFFqZG9/rrE+HIJLV+lgp6+6/WTGEx2 pYrmN42WsdUoFS1SGEmIKN988+x6eqKAuhIRo= Subject: [PATCH 3/3] xtensa: Use packed struct rather than memmove for unaligned access From: Harvey Harrison To: Chris Zankel Cc: Andrew Morton , LKML Content-Type: text/plain; charset=UTF-8 Date: Mon, 23 Jun 2008 17:29:00 -0700 Message-Id: <1214267340.21092.58.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1348 Lines: 37 Signed-off-by: Harvey Harrison --- There are only 3 arches that use the memmove implementation, do you see any problems with using the packed struct implementation so the memmove version could be removed? 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.5.6.290.gc4e15 -- 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/