summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-29 08:14:14 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-29 12:47:38 -0700
commite49e6ff553ffee2e747a8e331a9dcf3a80555944 (patch)
tree70c7c66a8d093e523ff4e53694ae83ee70939cf0 /arch/sparc/include
parent4fd8bc671887fa02bc19722f6c3707bd7b8a2604 (diff)
downloadtalos-op-linux-e49e6ff553ffee2e747a8e331a9dcf3a80555944.tar.gz
talos-op-linux-e49e6ff553ffee2e747a8e331a9dcf3a80555944.zip
sparc: fix sparc64 build due to leon.h inclusion
Stephen Rothwell <sfr@canb.auug.org.au> reported following error: In file included from arch/sparc/kernel/prom_common.c:26:0: arch/sparc/include/asm/leon.h:221:9: error: unknown type name 'irq_flow_handler_t' arch/sparc/include/asm/leon.h:224:10: error: unknown type name 'irq_flow_handler_t' Fix this by: 1) Avoid including leon.h in prom_commen.h (not needed) 2) Include irq.h in leon.h to avoid the missing symbol error Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/leon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/leon.h b/arch/sparc/include/asm/leon.h
index ba46083ee42e..3375c6293893 100644
--- a/arch/sparc/include/asm/leon.h
+++ b/arch/sparc/include/asm/leon.h
@@ -213,6 +213,7 @@ struct leon3_cacheregs {
unsigned long dccr; /* 0x0c - Data Cache Configuration Register */
};
+#include <linux/irq.h>
#include <linux/interrupt.h>
struct device_node;
OpenPOWER on IntegriCloud