]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
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 988e5d8ed11a228f8fd985d15ab9ee4f2d54ba9c..215900fce21b0f4bfd637a83585a9540e30c4662 100644 (file)
@@ -16,8 +16,6 @@
 
 #ifdef __KERNEL__
 
-#include <linux/compat.h>
-
 #ifdef CONFIG_COMPAT
 
 struct compat_siginfo;