[CRIU] [PATCH 3/8] cr: introduced the macro BITS_PER_ULONG
Alexander Kartashov
alekskartashov at parallels.com
Fri Jan 18 02:08:34 EST 2013
The macro specifies the size of the machine pointer explicitly.
Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
---
arch/x86/include/asm/types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
index 837daa8..84dbabe 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -280,4 +280,6 @@ typedef struct {
typedef UserX86RegsEntry UserRegsEntry;
+#define BITS_PER_ULONG 64
+
#endif /* __CR_ASM_TYPES_H__ */
--
1.7.10.4
More information about the CRIU
mailing list