[SPARC64]: Decode virtual-devices interrupts correctly.
Need to translate through the interrupt-map{,-mask] properties. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -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) */
|
||||
|
Reference in New Issue
Block a user