mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org,
	Harvey Harrison <harvey.harrison@gmail.com>,
	David Howells <dhowells@redhat.com>
Subject: [PATCH 3/7] FRV: Switch unaligned access to the packed-struct implementation
Date: Wed, 15 Oct 2008 16:50:59 +0100	[thread overview]
Message-ID: <20081015155058.2158.96559.stgit@warthog.procyon.org.uk> (raw)
In-Reply-To: <20081015155048.2158.35981.stgit@warthog.procyon.org.uk>

From: Harvey Harrison <harvey.harrison@gmail.com>

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>
---

 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


  parent reply	other threads:[~2008-10-15 15:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-15 15:50 [PATCH 1/7] frv: use generic pci_enable_resources() David Howells
2008-10-15 15:50 ` [PATCH 2/7] FRV: Provide dma_map_page() for NOMMU and fix comments David Howells
2008-10-15 15:50 ` David Howells [this message]
2008-10-15 15:51 ` [PATCH 4/7] FRV: Eliminate NULL test and memset after alloc_bootmem David Howells
2008-10-15 15:51 ` [PATCH 5/7] binfmt_elf_fdpic: Support auxvec base platform string David Howells
2008-10-15 15:51 ` [PATCH 6/7] binfmt_elf_fdpic: Convert initial stack alignment to arch_align_stack() David Howells
2008-10-15 15:51 ` [PATCH 7/7] binfmt_elf_fdpic: Wire up AT_EXECFD, AT_EXECFN, AT_SECURE David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081015155058.2158.96559.stgit@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=harvey.harrison@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®