mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[SPARC64]: Decode virtual-devices interrupts correctly.
Need to translate through the interrupt-map{,-mask] properties.
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
7890f794e0
commit
9d29a3fafd
3 changed files with 92 additions and 26 deletions
|
|
@ -7,12 +7,10 @@
|
|||
#define _SPARC64_VDEV_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/oplib.h>
|
||||
|
||||
extern u32 sun4v_vdev_devhandle;
|
||||
extern int sun4v_vdev_root;
|
||||
extern struct linux_prom_pci_intmap *sun4v_vdev_intmap;
|
||||
extern int sun4v_vdev_num_intmap;
|
||||
extern struct linux_prom_pci_intmap sun4v_vdev_intmask;
|
||||
|
||||
extern unsigned int sun4v_vdev_device_interrupt(unsigned int);
|
||||
|
||||
#endif /* !(_SPARC64_VDEV_H) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue