All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] m32r: Change unaligned access to use packed struct implementation
@ 2008-10-08  6:38 Harvey Harrison
  0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-10-08  6:38 UTC (permalink / raw)
  To: Hirokazu Takata; +Cc: Andrew Morton, LKML

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
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 <linux/unaligned/le_memmove.h>
+# include <linux/unaligned/le_struct.h>
 # include <linux/unaligned/be_byteshift.h>
 # include <linux/unaligned/generic.h>
 # define get_unaligned	__get_unaligned_le
 # define put_unaligned	__put_unaligned_le
 #else
-# include <linux/unaligned/be_memmove.h>
+# include <linux/unaligned/be_struct.h>
 # include <linux/unaligned/le_byteshift.h>
 # include <linux/unaligned/generic.h>
 # define get_unaligned	__get_unaligned_be
-- 
1.6.0.2.471.g47a76



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-08  6:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08  6:38 [PATCH 2/4] m32r: Change unaligned access to use packed struct implementation Harvey Harrison

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.