[CRIU] [PATCHv3 01/23] x86/asm: move user code selector values to common
Dmitry Safonov
dsafonov at virtuozzo.com
Fri Dec 9 10:19:27 PST 2016
I'll need them in parasite head and in exit.
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
criu/arch/x86/call32.S | 3 ---
include/common/arch/x86/asm/linkage.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/criu/arch/x86/call32.S b/criu/arch/x86/call32.S
index 48d28e2f1ba8..dbed5dec3a9f 100644
--- a/criu/arch/x86/call32.S
+++ b/criu/arch/x86/call32.S
@@ -18,9 +18,6 @@
#include "common/asm/linkage.h"
-#define __USER32_CS 0x23
-#define __USER_CS 0x33
-
.text
/*
diff --git a/include/common/arch/x86/asm/linkage.h b/include/common/arch/x86/asm/linkage.h
index 5e0948f07ee6..5eaf450dbc98 100644
--- a/include/common/arch/x86/asm/linkage.h
+++ b/include/common/arch/x86/asm/linkage.h
@@ -21,4 +21,7 @@
#endif /* __ASSEMBLY__ */
+#define __USER32_CS 0x23
+#define __USER_CS 0x33
+
#endif /* __CR_LINKAGE_H__ */
--
2.10.2
More information about the CRIU
mailing list