]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
FRV: Switch unaligned access to the packed-struct implementation
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 15 Oct 2008 15:50:59 +0000 (16:50 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 22:06:54 +0000 (15:06 -0700)
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>
include/asm-frv/unaligned.h

index 839a2fbffa0f34c8c428b6a5793a407749e69ac8..6c61c05b2e0cfe36844b1d7466879b9f4c4f4f69 100644 (file)
@@ -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