]> 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)
commita93db9beb094fdfdf65779a6b85048ad1e1c96ea
treec1890e936c9d6d6e6b04d9f74a49c3ec25c70deb
parent264cda9cec321fc07f70677a2fc4237dcb0cd207
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