linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Fix [e]glibc build process
@ 2010-05-08 19:56 Andrey Volkov
  2010-05-09  3:21 ` Dave Kleikamp
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Volkov @ 2010-05-08 19:56 UTC (permalink / raw)
  To: Dave Kleikamp, Benjamin Herrenschmidt
  Cc: linuxppc-dev list, LKML, David Gibson

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(-)


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__

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-10 14:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-08 19:56 Fix [e]glibc build process Andrey Volkov
2010-05-09  3:21 ` Dave Kleikamp
2010-05-09  6:59   ` [PATCH] powerpc: fix userspace build of ptrace.h Sam Ravnborg
2010-05-09  7:27     ` Benjamin Herrenschmidt
2010-05-10 14:10       ` Dave Kleikamp
2010-05-09 13:37   ` Fix [e]glibc build process Andrey Volkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).