x86, vdso: Remove one final use of htole16()
authorH. Peter Anvin <hpa@zytor.com>
Tue, 10 Jun 2014 21:25:26 +0000 (14:25 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 10 Jun 2014 22:55:05 +0000 (15:55 -0700)
commit4d048b0255e3dd4fb001c5f1f609fb67463d04d6
tree7793245f6c44767ce5e71364667e439dc2cc89e7
parent5b174fd6472b1d6b6402b30210a212f3fd770d96
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.

Reported-and-Tested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/20140610135051.c3c34165f73d67d218b62bd9@linux-foundation.org
arch/x86/vdso/vdso2c.h