[PATCH] FRV: Switch unaligned access to the packed-struct implementation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <torvalds@...>, <akpm@...>
Cc: <dhowells@...>, <harvey.harrison@...>, <linux-kernel@...>
Date: Tuesday, October 14, 2008 - 8:32 am

From: Harvey Harrison

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
Signed-off-by: David Howells
---

include/asm-frv/unaligned.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-frv/unaligned.h b/include/asm-frv/unaligned.h
index 839a2fb..6c61c05 100644
--- a/include/asm-frv/unaligned.h
+++ b/include/asm-frv/unaligned.h
@@ -13,7 +13,7 @@
#define _ASM_UNALIGNED_H

#include
-#include
+#include
#include

#define get_unaligned __get_unaligned_be

--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] FRV: Switch unaligned access to the packed-struct im..., David Howells, (Tue Oct 14, 8:32 am)