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>
This commit is contained in:
8
arch/powerpc/sysdev/cpm2_pic.h
Normal file
8
arch/powerpc/sysdev/cpm2_pic.h
Normal file
@@ -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 */
|
Reference in New Issue
Block a user