[CRIU] [PATCH 22/23] image.h: moved the macro AT_VECTOR_SIZE to the file asm/types.h

Alexander Kartashov alekskartashov at parallels.com
Mon Jan 14 02:20:16 EST 2013


---
 arch/x86/include/asm/types.h |    6 ++++++
 include/image.h              |    6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
index a3cdf3e..afe82db 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -276,4 +276,10 @@ typedef struct {
 
 #define P(i) i
 
+#if defined(CONFIG_X86_64)
+# define AT_VECTOR_SIZE 44
+#elif defined(CONFIG_ARM)
+# define AT_VECTOR_SIZE 22             /* Not needed at moment */
+#endif
+
 #endif /* __CR_ASM_TYPES_H__ */
diff --git a/include/image.h b/include/image.h
index 2ba3f98..08b3532 100644
--- a/include/image.h
+++ b/include/image.h
@@ -112,12 +112,6 @@ struct page_entry {
 
 #define TASK_PF_USED_MATH		0x00002000
 
-#ifdef CONFIG_X86_64
-# define AT_VECTOR_SIZE 44
-#else
-# define AT_VECTOR_SIZE 22		/* Not needed at moment */
-#endif
-
 #define TASK_ALIVE		0x1
 #define TASK_DEAD		0x2
 #define TASK_STOPPED		0x3 /* FIXME - implement */
-- 
1.7.10.4



More information about the CRIU mailing list