summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powermac/pmac_pic.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-09-26 06:04:21 (GMT)
committerPaul Mackerras <paulus@samba.org>2005-09-26 06:04:21 (GMT)
commit14cf11af6cf608eb8c23e989ddb17a715ddce109 (patch)
tree271a97ce73e265f39c569cb159c195c5b4bb3f8c /arch/powerpc/platforms/powermac/pmac_pic.h
parente5baa396af7560382d2cf3f0871d616b61fc284c (diff)
downloadlinux-fsl-qoriq-14cf11af6cf608eb8c23e989ddb17a715ddce109.tar.xz
powerpc: Merge enough to start building in arch/powerpc.
This creates the directory structure under arch/powerpc and a bunch of Kconfig files. It does a first-cut merge of arch/powerpc/mm, arch/powerpc/lib and arch/powerpc/platforms/powermac. This is enough to build a 32-bit powermac kernel with ARCH=powerpc. For now we are getting some unmerged files from arch/ppc/kernel and arch/ppc/syslib, or arch/ppc64/kernel. This makes some minor changes to files in those directories and files outside arch/powerpc. The boot directory is still not merged. That's going to be interesting. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac/pmac_pic.h')
-rw-r--r--arch/powerpc/platforms/powermac/pmac_pic.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powermac/pmac_pic.h b/arch/powerpc/platforms/powermac/pmac_pic.h
new file mode 100644
index 0000000..664103d
--- /dev/null
+++ b/arch/powerpc/platforms/powermac/pmac_pic.h
@@ -0,0 +1,11 @@
+#ifndef __PPC_PLATFORMS_PMAC_PIC_H
+#define __PPC_PLATFORMS_PMAC_PIC_H
+
+#include <linux/irq.h>
+
+extern struct hw_interrupt_type pmac_pic;
+
+void pmac_pic_init(void);
+int pmac_get_irq(struct pt_regs *regs);
+
+#endif /* __PPC_PLATFORMS_PMAC_PIC_H */