diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-08-20 15:46:52 +0200 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-10-22 22:25:40 +0200 |
commit | 01557baff6e9c371d4c96e01089dca32cf347500 (patch) | |
tree | e7c39a32d6ba1f0db53f8c6e512693f3a6f75c3f /include/xen | |
parent | xen: support pirq != irq (diff) | |
download | linux-01557baff6e9c371d4c96e01089dca32cf347500.tar.xz linux-01557baff6e9c371d4c96e01089dca32cf347500.zip |
xen: get the maximum number of pirqs from xen
Use PHYSDEVOP_get_nr_pirqs to get the maximum number of pirqs from xen.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/interface/physdev.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xen/interface/physdev.h b/include/xen/interface/physdev.h index cd6939147cb6..fbb58833f13e 100644 --- a/include/xen/interface/physdev.h +++ b/include/xen/interface/physdev.h @@ -121,6 +121,12 @@ struct physdev_op { } u; }; +#define PHYSDEVOP_get_nr_pirqs 22 +struct physdev_nr_pirqs { + /* OUT */ + uint32_t nr_pirqs; +}; + /* * Notify that some PIRQ-bound event channels have been unmasked. * ** This command is obsolete since interface version 0x00030202 and is ** |