From patchwork Sat May 8 19:56:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Volkov X-Patchwork-Id: 51974 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 9B039B7E25 for ; Sun, 9 May 2010 06:06:45 +1000 (EST) Received: by ozlabs.org (Postfix) id 942DFB7D61; Sun, 9 May 2010 06:06:28 +1000 (EST) Delivered-To: linuxppc-dev@ozlabs.org X-Greylist: delayed 571 seconds by postgrey-1.32 at bilbo; Sun, 09 May 2010 06:06:28 EST Received: from amanaus.varma-el.com (amanaus.varma-el.com [194.186.189.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.varma-el.com", Issuer "varma-el.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 26406B7D52 for ; Sun, 9 May 2010 06:06:28 +1000 (EST) Received: from geos.varma-el.com (geos.varma-el.com [192.168.0.1]) by amanaus.varma-el.com (Postfix) with ESMTP id 407B92CE128; Sat, 8 May 2010 23:56:52 +0400 (MSD) Received: from [192.168.0.206] (unknown [192.168.0.206]) by geos.varma-el.com (Postfix) with ESMTP id 191B6580128B6; Sat, 8 May 2010 23:56:52 +0400 (MSD) Message-ID: <4BE5C203.6060509@varma-el.com> Date: Sat, 08 May 2010 23:56:51 +0400 From: Andrey Volkov User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Dave Kleikamp , Benjamin Herrenschmidt Subject: Fix [e]glibc build process X-Enigmail-Version: 0.95.7 Cc: linuxppc-dev list , LKML , David Gibson X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org This patch fix [e]glibc build process destruction (more precisely _assembler_ is die when try to compile getcontext.S since stdint.h coldn't be assembled) intruduced by patch: commit: 162d92dfb79a0b5fc03380b8819fa5f870ebf1e Date: Mon, 8 Feb 2010 11:51:05 +0000 (11:51 +0000) from: Dave Kleikamp Signed-off-by: Andrey Volkov --- arch/powerpc/include/asm/ptrace.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/ptrace.h b/arch/powerpc/include/asm/ptrace.h index 9e2d84c..025912b 100644 --- a/arch/powerpc/include/asm/ptrace.h +++ b/arch/powerpc/include/asm/ptrace.h @@ -27,8 +27,10 @@ #ifdef __KERNEL__ #include #else +#ifndef __ASSEMBLY__ #include #endif +#endif #ifndef __ASSEMBLY__