[PATCH 02/17] UAPI: Don't include linux/compat.h in sparc's asm/siginfo.h

From: David Howells
Date: Tue Dec 13 2011 - 05:40:32 EST


Don't include linux/compat.h in sparc's asm/siginfo.h as it leads to a circular
dependency:

asm/siginfo.h -> linux/compat.h -> asm/siginfo.h

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
cc: David S. Miller <davem@xxxxxxxxxxxxx>
cc: sparclinux@xxxxxxxxxxxxxxx
---
arch/sparc/include/asm/siginfo.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/sparc/include/asm/siginfo.h b/arch/sparc/include/asm/siginfo.h
index 988e5d8..215900f 100644
--- a/arch/sparc/include/asm/siginfo.h
+++ b/arch/sparc/include/asm/siginfo.h
@@ -16,8 +16,6 @@

#ifdef __KERNEL__

-#include <linux/compat.h>
-
#ifdef CONFIG_COMPAT

struct compat_siginfo;
--
1.7.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/