]> git.baikalelectronics.ru Git - kernel.git/commit
x86/vdso, build: Make LE access macros clearer, host-safe
authorH. Peter Anvin <hpa@linux.intel.com>
Sat, 31 May 2014 00:03:22 +0000 (17:03 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 31 May 2014 10:35:27 +0000 (03:35 -0700)
commitbc77f0a578f1f35574d7ec974c303125c7a8c60e
treec1890e936c9d6d6e6b04d9f74a49c3ec25c70deb
parent7bb70ebe6bd3e5bb713ed955202433d9824fab23
x86/vdso, build: Make LE access macros clearer, host-safe

Make it a little clearer what the littleendian access macros in
vdso2c.[ch] actually do.  This way they can probably also be moved to
a central location (e.g. tools/include) for the benefit of other host
tools.

We should avoid implementation namespace symbols when writing code
that is compiling for the compiler host, so avoid names starting with
double underscore or underscore-capital.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/2cf258df123cb24bad63c274c8563c050547d99d.1401464755.git.luto@amacapital.net
arch/x86/vdso/vdso2c.c
arch/x86/vdso/vdso2c.h