[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140610150600.af0649ca26db602d51fe8899@linux-foundation.org>
Date: Tue, 10 Jun 2014 15:06:00 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: mingo@...nel.org, luto@...capital.net,
linux-kernel@...r.kernel.org, tglx@...utronix.de,
hpa@...ux.intel.com,
"tip-bot for H. Peter Anvin" <tipbot@...or.com>,
linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/vdso] x86, vdso: Use <tools/le_byteshift.h> for
littleendian access
On Tue, 10 Jun 2014 14:28:37 -0700 "H. Peter Anvin" <hpa@...or.com> wrote:
> Want to test this patch before I commit it?
>
> ...
>
> >From 15ea1a528e08c6bc322f10686ec8d73ba413b941 Mon Sep 17 00:00:00 2001
> From: "H. Peter Anvin" <hpa@...or.com>
> Date: Tue, 10 Jun 2014 14:25:26 -0700
> Subject: [PATCH] x86, vdso: Remove one final use of htole16()
>
> One final use of the macros from <endian.h> which are not available on
> older system. In this case we had one sole case of *writing* a
> littleendian number, but the number is SHN_UNDEF which is the constant
> zero, so rather than dealing with the general case of littleendian
> puts here, just document that the constant is zero and be done with
> it.
Compiles and boots, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists