[PATCH 1/2] pty cr: s390: define CKPT_TTY_NCC

Serge E. Hallyn serue at us.ibm.com
Tue Sep 1 09:36:28 PDT 2009


Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
 arch/s390/include/asm/checkpoint_hdr.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/s390/include/asm/checkpoint_hdr.h b/arch/s390/include/asm/checkpoint_hdr.h
index 1976355..609fc4c 100644
--- a/arch/s390/include/asm/checkpoint_hdr.h
+++ b/arch/s390/include/asm/checkpoint_hdr.h
@@ -90,6 +90,14 @@ struct ckpt_hdr_mm_context {
 #endif
 #endif
 
+#define CKPT_TTY_NCC  8
+#ifdef __KERNEL__
+#include <linux/tty.h>
+#if CKPT_TTY_NCC != NCC
+#error CKPT_TTY_NCC size is wrong per asm-generic/termios.h
+#endif
+#endif
+
 struct ckpt_hdr_header_arch {
 	struct ckpt_hdr h;
 };
-- 
1.6.1


--M9NhX3UHpAaciwkO
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-cr-bugfixes-of-oren-s-code.patch"



More information about the Containers mailing list