From: Scott McNutt <smcnutt@psyent.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] nios2: add unaligned.h to be included by zlib.c
Date: Tue, 16 Mar 2010 12:24:45 -0400 [thread overview]
Message-ID: <4B9FB0CD.2020908@psyent.com> (raw)
In-Reply-To: <1267428505-14528-1-git-send-email-thomas@wytron.com.tw>
Thomas,
This patch ignored due to your subsequent patch (03/14/2010).
Regards,
--Scott
Thomas Chou wrote:
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
> include/asm-nios2/unaligned.h | 19 +++++++++++++++++++
> 1 files changed, 19 insertions(+), 0 deletions(-)
> create mode 100644 include/asm-nios2/unaligned.h
>
> diff --git a/include/asm-nios2/unaligned.h b/include/asm-nios2/unaligned.h
> new file mode 100644
> index 0000000..483dd04
> --- /dev/null
> +++ b/include/asm-nios2/unaligned.h
> @@ -0,0 +1,19 @@
> +#ifndef _ASM_NIOS2_UNALIGNED_H
> +#define _ASM_NIOS2_UNALIGNED_H
> +
> +#include <linux/unaligned/le_byteshift.h>
> +#include <linux/unaligned/be_byteshift.h>
> +#include <linux/unaligned/generic.h>
> +
> +/*
> + * Select endianness
> + */
> +#ifndef __NIOS2EB__
> +#define get_unaligned __get_unaligned_le
> +#define put_unaligned __put_unaligned_le
> +#else
> +#define get_unaligned __get_unaligned_be
> +#define put_unaligned __put_unaligned_be
> +#endif
> +
> +#endif /* _ASM_NIOS2_UNALIGNED_H */
prev parent reply other threads:[~2010-03-16 16:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-01 7:28 [U-Boot] [PATCH] nios2: add unaligned.h to be included by zlib.c Thomas Chou
2010-03-05 11:40 ` Mike Frysinger
2010-03-07 3:42 ` Thomas Chou
2010-03-16 16:24 ` Scott McNutt [this message]
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=4B9FB0CD.2020908@psyent.com \
--to=smcnutt@psyent.com \
--cc=u-boot@lists.denx.de \
/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