aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/cpm2_pic.h
diff options
context:
space:
mode:
authorVitaly Bordug <vbordug@ru.mvista.com>2007-01-31 02:08:54 +0300
committerPaul Mackerras <paulus@samba.org>2007-02-07 14:03:20 +1100
commit73844ecbaa58885c5e89af7d1b08faaffffa6833 (patch)
treedf2a4f20261e2cf348347786362dff0701e54359 /arch/powerpc/sysdev/cpm2_pic.h
parentc19cdcb1b8d33a20d372191eced2def7f901806b (diff)
[POWERPC] cpm2: CPM2 interrupt controller fix
This contains important fixes for the CPM2 PIC code. Eliminated CPM_IRQ_OFFSET, pulling the respective interrupt numbers from the interrupt mapping. Updated devicetree files to reflect that. Changed direct IC-related IO accesses to the IO accessors. Fixed all the sense values to keep coherency with ipic. In the current code, CPM2 stuff will have no IRQs and hence could be hardly usable. Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/cpm2_pic.h')
-rw-r--r--arch/powerpc/sysdev/cpm2_pic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/cpm2_pic.h b/arch/powerpc/sysdev/cpm2_pic.h
index 2840616529e..30e5828a278 100644
--- a/arch/powerpc/sysdev/cpm2_pic.h
+++ b/arch/powerpc/sysdev/cpm2_pic.h
@@ -1,8 +1,6 @@
#ifndef _PPC_KERNEL_CPM2_H
#define _PPC_KERNEL_CPM2_H
-extern intctl_cpm2_t *cpm2_intctl;
-
extern unsigned int cpm2_get_irq(void);
extern void cpm2_pic_init(struct device_node*);