summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/cpm2_pic.h
diff options
context:
space:
mode:
authorVitaly Bordug <vbordug@ru.mvista.com>2006-09-21 22:18:53 +0400
committerVitaly Bordug <vbordug@ru.mvista.com>2006-09-21 22:18:53 +0400
commitb0c110b4f19b226dcc9f7805759bf17f8ef4dca4 (patch)
treeaea50e9ee80c546b27c01ab387ed56d85d0d58d7 /arch/powerpc/sysdev/cpm2_pic.h
parent3dd0dcbe9dc5c116df96989c42a062951b644e04 (diff)
downloadtalos-obmc-linux-b0c110b4f19b226dcc9f7805759bf17f8ef4dca4.tar.gz
talos-obmc-linux-b0c110b4f19b226dcc9f7805759bf17f8ef4dca4.zip
POWERPC: Move generic cpm2 stuff to powerpc
This moves the cpm2 common code and PIC stuff to the powerpc. Most of the files were just copied from ppc/, with minor tuning to make it compile, and, subsequently, work. Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Diffstat (limited to 'arch/powerpc/sysdev/cpm2_pic.h')
-rw-r--r--arch/powerpc/sysdev/cpm2_pic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/cpm2_pic.h b/arch/powerpc/sysdev/cpm2_pic.h
new file mode 100644
index 000000000000..436cca77db64
--- /dev/null
+++ b/arch/powerpc/sysdev/cpm2_pic.h
@@ -0,0 +1,8 @@
+#ifndef _PPC_KERNEL_CPM2_H
+#define _PPC_KERNEL_CPM2_H
+
+extern int cpm2_get_irq(struct pt_regs *regs);
+
+extern void cpm2_pic_init(struct device_node*);
+
+#endif /* _PPC_KERNEL_CPM2_H */
OpenPOWER on IntegriCloud