Skip to contentSkip to conversation

h8300: Use packed struct rather than memmove for unaligned access

PATCH New Harvey Harrison 1 participant 1 message Jun 24, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 h8300: Use packed struct rather than memmove for unaligned access

---
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-h8300/unaligned.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-h8300/unaligned.h +1 -1
index b8d06c7..ab851e7 100644
@@ -1,7 +1,7 @@
 #ifndef _ASM_H8300_UNALIGNED_H
 #define _ASM_H8300_UNALIGNED_H
 
-#include <linux/unaligned/be_memmove.h>
+#include <linux/unaligned/be_struct.h>
 #include <linux/unaligned/le_byteshift.h>
 #include <linux/unaligned/generic.h>
 
Signature · 1 line
1.5.6.290.gc4e15