]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83d0d5c0cc9b1e7593c0917f2a091da71038aae8
tree7793245f6c44767ce5e71364667e439dc2cc89e7
parente455afbc90596d0da373ab3c89a5cf7af642a9bc
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