summaryrefslogtreecommitdiff
path: root/include/asm-frv
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-15 16:50:59 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 15:06:54 -0700
commitcb76d5a4c4a74f4ff0bd4db5069f02fe4679a5ed (patch)
tree6fec33b5f6689aff346150d0eacdc38754eb9398 /include/asm-frv
parentc9af956cf7548bc352557eb8356913e489fd8716 (diff)
downloadlinux-3.10-cb76d5a4c4a74f4ff0bd4db5069f02fe4679a5ed.tar.gz
linux-3.10-cb76d5a4c4a74f4ff0bd4db5069f02fe4679a5ed.tar.bz2
linux-3.10-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>
Diffstat (limited to 'include/asm-frv')
-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 839a2fbffa0..6c61c05b2e0 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