mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
73844ecbaa
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>
8 lines
177 B
C
8 lines
177 B
C
#ifndef _PPC_KERNEL_CPM2_H
|
|
#define _PPC_KERNEL_CPM2_H
|
|
|
|
extern unsigned int cpm2_get_irq(void);
|
|
|
|
extern void cpm2_pic_init(struct device_node*);
|
|
|
|
#endif /* _PPC_KERNEL_CPM2_H */
|