[CRIU] [PATCH 6/9] headers: types.h -- Move BITS_PER_LONG to own header
Cyrill Gorcunov
gorcunov at openvz.org
Mon Apr 1 11:27:37 EDT 2013
This diet types.h and allows to include BITS_PER_LONG
only where really needed. It makes BITS_PER_LONG definition
close to one used in kernel.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
arch/arm/include/asm/bitops.h | 3 ++-
arch/arm/include/asm/bitsperlong.h | 6 ++++++
arch/arm/include/asm/types.h | 2 --
arch/x86/include/asm/bitops.h | 3 ++-
arch/x86/include/asm/bitsperlong.h | 10 ++++++++++
arch/x86/include/asm/types.h | 2 --
pie/log-simple.c | 3 +++
7 files changed, 23 insertions(+), 6 deletions(-)
create mode 100644 arch/arm/include/asm/bitsperlong.h
create mode 100644 arch/x86/include/asm/bitsperlong.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-headers-types.h-Move-BITS_PER_LONG-to-own-header.patch
Type: text/x-patch
Size: 2825 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130401/d8750a0f/attachment.bin>
More information about the CRIU
mailing list