Skip to content

Commit

Permalink
FRV: Switch unaligned access to the packed-struct implementation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Harvey Harrison authored and Linus Torvalds committed Oct 16, 2008
1 parent c9af956 commit cb76d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-frv/unaligned.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb76d5a

Please sign in to comment.