Skip to contentSkip to conversation

UAPI: Don't include linux/compat.h in sparc's asm/siginfo.h

PATCH New David Howells 1 participant 1 message Dec 12, 2011 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

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

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
---
 arch/sparc/include/asm/siginfo.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/sparc/include/asm/siginfo.h +0 -2
index 988e5d8..215900f 100644
@@ -16,8 +16,6 @@
 
 #ifdef __KERNEL__
 
-#include <linux/compat.h>
-
 #ifdef CONFIG_COMPAT
 
 struct compat_siginfo;
Signature · 1 line
1.7.7.4