Skip to contentSkip to conversation

FRV: Switch unaligned access to the packed-struct implementation

PATCH New David Howells 1 participant 1 message Oct 14, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FRV: Switch unaligned access to the packed-struct implementation

From: Harvey Harrison <[email protected]>

Switch unaligned access to the packed-struct implementation for BE accesses as this reduces the size of the kernel a little. LE still uses the byte shift.

---

 include/asm-frv/unaligned.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-frv/unaligned.h +1 -1
index 839a2fb..6c61c05 100644
@@ -13,7 +13,7 @@
 #define _ASM_UNALIGNED_H
 
 #include <linux/unaligned/le_byteshift.h>
-#include <linux/unaligned/be_byteshift.h>
+#include <linux/unaligned/be_struct.h>
 #include <linux/unaligned/generic.h>
 
 #define get_unaligned	__get_unaligned_be