aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-09-23 00:43:22 -0400
committerStephen Rothwell <sfr@canb.auug.org.au>2005-09-23 00:43:22 -0400
commitba293fff085fde5b9f1b5a57c8abb1a8098d0c59 (patch)
treea5fdbb59380facc566adcfc3c4a2dea947324473 /include/asm-ppc64
parent9f497581fda5fd804e9ebd7d8f6d80c3a0e9f883 (diff)
ppc46 iSeries: Make some generic irq code compile for iSeries
In order to call finish_device_tree() on iSeries we need to define virt_irq_create_mapping(). We also need to set ppc64_interrupt_controller to something other than zero. If we want to do interrupt setup via the device tree on iSeries this code will need some serious work, but it's harmless to have it there as long as the nodes in the iSeries device tree don't cause it to be invoked. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r--include/asm-ppc64/processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc64/processor.h b/include/asm-ppc64/processor.h
index 4146189006e3..fe5cd2f5868a 100644
--- a/include/asm-ppc64/processor.h
+++ b/include/asm-ppc64/processor.h
@@ -291,6 +291,7 @@
291#define IC_OPEN_PIC 1 291#define IC_OPEN_PIC 1
292#define IC_PPC_XIC 2 292#define IC_PPC_XIC 2
293#define IC_BPA_IIC 3 293#define IC_BPA_IIC 3
294#define IC_ISERIES 4
294 295
295#define XGLUE(a,b) a##b 296#define XGLUE(a,b) a##b
296#define GLUE(a,b) XGLUE(a,b) 297#define GLUE(a,b) XGLUE(a,b)