android_kernel_xiaomi_sm8350/include/asm-sparc64/vdev.h
David S. Miller 9d29a3fafd [SPARC64]: Decode virtual-devices interrupts correctly.
Need to translate through the interrupt-map{,-mask] properties.

Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-20 01:13:05 -08:00

17 lines
357 B
C

/* vdev.h: SUN4V virtual device interfaces and defines.
*
* Copyright (C) 2006 David S. Miller <davem@davemloft.net>
*/
#ifndef _SPARC64_VDEV_H
#define _SPARC64_VDEV_H
#include <linux/types.h>
extern u32 sun4v_vdev_devhandle;
extern int sun4v_vdev_root;
extern unsigned int sun4v_vdev_device_interrupt(unsigned int);
#endif /* !(_SPARC64_VDEV_H) */