summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison2008-10-15 17:50:59 +0200
committerLinus Torvalds2008-10-17 00:06:54 +0200
commitcb76d5a4c4a74f4ff0bd4db5069f02fe4679a5ed (patch)
tree6fec33b5f6689aff346150d0eacdc38754eb9398
parentFRV: Provide dma_map_page() for NOMMU and fix comments (diff)
downloadkernel-qcow2-linux-cb76d5a4c4a74f4ff0bd4db5069f02fe4679a5ed.tar.gz
kernel-qcow2-linux-cb76d5a4c4a74f4ff0bd4db5069f02fe4679a5ed.tar.xz
kernel-qcow2-linux-cb76d5a4c4a74f4ff0bd4db5069f02fe4679a5ed.zip
FRV: Switch unaligned access to the packed-struct implementation
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. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/asm-frv/unaligned.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-frv/unaligned.h b/include/asm-frv/unaligned.h
index 839a2fbffa0f..6c61c05b2e0c 100644
--- a/include/asm-frv/unaligned.h
+++ b/include/asm-frv/unaligned.h
@@ -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