Re: FRV/ARM unaligned access question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Harvey Harrison
Date: Wednesday, October 8, 2008 - 1:22 pm

On Wed, 2008-10-08 at 12:16 +0100, David Howells wrote:

Probably smaller as now the le values aren't being byteswapped anymore,
only the native endianess can use the struct version.  Care to look at
the kernel size with the following instead?

From: Harvey Harrison <harvey.harrison@gmail.com>
Subject: [PATCH] frv: switch unaligned access to the packed-struct implementation

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 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 <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
-- 
1.6.0.2.471.g47a76



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

Messages in current thread:
FRV/ARM unaligned access question, Harvey Harrison, (Wed Oct 8, 12:26 am)
Re: FRV/ARM unaligned access question, Russell King, (Wed Oct 8, 12:35 am)
Re: FRV/ARM unaligned access question, Harvey Harrison, (Wed Oct 8, 12:36 am)
Re: FRV/ARM unaligned access question, Russell King, (Wed Oct 8, 2:10 am)
Re: FRV/ARM unaligned access question, Harvey Harrison, (Wed Oct 8, 2:34 am)
Re: FRV/ARM unaligned access question, David Howells, (Wed Oct 8, 4:16 am)
Re: FRV/ARM unaligned access question, Harvey Harrison, (Wed Oct 8, 1:22 pm)
Re: FRV/ARM unaligned access question, David Howells, (Thu Oct 9, 4:35 am)