Patchwork Fix [e]glibc build process

login
register
mail settings
Submitter Andrey Volkov
Date May 8, 2010, 7:56 p.m.
Message ID <4BE5C203.6060509@varma-el.com>
Download mbox | patch
Permalink /patch/51974/
State Superseded
Headers show

Comments

Andrey Volkov - May 8, 2010, 7:56 p.m.
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 <avolkov@varma-el.com>

---

 arch/powerpc/include/asm/ptrace.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

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 <linux/types.h>
 #else
+#ifndef __ASSEMBLY__
 #include <stdint.h>
 #endif
+#endif

 #ifndef __ASSEMBLY__