[Devel] [PATCH 1/5] catch attempts to build clone_ppc_.S in 64-bit mode
Nathan Lynch
ntl at pobox.com
Fri Dec 4 21:02:27 PST 2009
It will build fine, but runtime is another matter.
Signed-off-by: Nathan Lynch <ntl at pobox.com>
---
clone_ppc_.S | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/clone_ppc_.S b/clone_ppc_.S
index b736e13..ebc07f3 100644
--- a/clone_ppc_.S
+++ b/clone_ppc_.S
@@ -11,6 +11,10 @@
#include <asm/unistd.h>
#include "powerpc_asm.h"
+#ifdef __powerpc64__
+#error This code is 32-bit only!
+#endif
+
#ifndef __NR_eclone
#define __NR_eclone 323
#endif
--
1.6.0.6
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list