UAPI: Don't include linux/compat.h in sparc's asm/siginfo.h
authorDavid Howells <dhowells@redhat.com>
Mon, 12 Dec 2011 13:54:35 +0000 (13:54 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 12 Dec 2011 13:54:35 +0000 (13:54 +0000)
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

index 988e5d8..215900f 100644 (file)
@@ -16,8 +16,6 @@
 
 #ifdef __KERNEL__
 
-#include <linux/compat.h>
-
 #ifdef CONFIG_COMPAT
 
 struct compat_siginfo;