| Submitter | David Howells |
|---|---|
| Date | Dec. 13, 2011, 10:03 a.m. |
| Message ID | <1323770653-19177-3-git-send-email-dhowells@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/131041/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: David Howells <dhowells@redhat.com> Date: Tue, 13 Dec 2011 10:03:58 +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> Acked-by: David S. Miller <davem@davemloft.net> -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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;
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(-)