From: Nathan Lynch Subject: [PATCH 1/5] catch attempts to build clone_ppc_.S in 64-bit mode Date: Fri, 4 Dec 2009 23:02:27 -0600 Message-ID: <1259989351-28552-2-git-send-email-ntl@pobox.com> References: <1259989351-28552-1-git-send-email-ntl@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1259989351-28552-1-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oren Laadan Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org It will build fine, but runtime is another matter. Signed-off-by: Nathan Lynch --- 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 #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