lkml.org 
[lkml]   [2005]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 6 Jun 2005 11:46:18 -0700
FromTom Rini <>
Subject[PATCH 2.6.12-rc5 ppc32] Add <linux/compiler.h> to <asm/sigcontext.h>
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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-06 20:49    [from the cache]
©2003-2010