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

login
register
mail settings
Submitter David Howells
Date Dec. 12, 2011, 3:28 p.m.
Message ID <1323703713-20382-3-git-send-email-dhowells@redhat.com>
Download mbox | patch
Permalink /patch/130769/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

David Howells - Dec. 12, 2011, 3:28 p.m.
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@redhat.com>
cc: David S. Miller <davem@davemloft.net>
cc: sparclinux@vger.kernel.org
---
 arch/sparc/include/asm/siginfo.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch

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;