mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.12-rc5 ppc32] Add <linux/compiler.h> to <asm/sigcontext.h>
@ 2005-06-06 18:46 Tom Rini
  0 siblings, 0 replies; only message in thread
From: Tom Rini @ 2005-06-06 18:46 UTC (permalink / raw)
  To: Andrew Morton, Kernel Mailing List

On ppc32, <asm/sigcontext.h> uses __user, but doesn't directly include
<linux/compiler.h>.  This adds that in.  Without this, glibc will not
compile.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>

Index: include/asm-ppc/sigcontext.h
===================================================================
--- 475459da3d3cc0071c71900cfbcdc389d3d71597/include/asm-ppc/sigcontext.h  (mode:100644)
+++ uncommitted/include/asm-ppc/sigcontext.h  (mode:100644)
@@ -2,7 +2,7 @@
 #define _ASM_PPC_SIGCONTEXT_H
 
 #include <asm/ptrace.h>
-
+#include <linux/compiler.h>
 
 struct sigcontext {
 	unsigned long	_unused[4];

-- 
Tom Rini
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-06 18:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 18:46 [PATCH 2.6.12-rc5 ppc32] Add <linux/compiler.h> to <asm/sigcontext.h> Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®