diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2013-05-07 16:51:19 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-05-07 16:51:19 +0200 |
commit | 3b77afc7f3bfce1fa09b4cf3d54b4463cf4c216f (patch) | |
tree | df6cd25cd9c00eac83c5d30cdf5e1187e3caebdf /xen/arch/x86/msi.c | |
parent | f3d7d1b2c5124d88d27a70a5f02a3c14fd169d42 (diff) | |
download | xen-3b77afc7f3bfce1fa09b4cf3d54b4463cf4c216f.tar.gz xen-3b77afc7f3bfce1fa09b4cf3d54b4463cf4c216f.tar.bz2 xen-3b77afc7f3bfce1fa09b4cf3d54b4463cf4c216f.zip |
rename IS_PRIV to is_hardware_domain
Since the remaining uses of IS_PRIV are actually concerned with the
domain having control of the hardware (i.e. being the initial domain),
clarify this by renaming IS_PRIV to is_hardware_domain. This also
removes IS_PRIV_FOR since the only remaining user was xsm/dummy.h.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com> (for 4.3 release)
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/msi.c')
-rw-r--r-- | xen/arch/x86/msi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/msi.c b/xen/arch/x86/msi.c index 36bed2953e..a2ceea0001 100644 --- a/xen/arch/x86/msi.c +++ b/xen/arch/x86/msi.c @@ -812,7 +812,7 @@ static int msix_capability_init(struct pci_dev *dev, break; if ( d ) { - if ( !IS_PRIV(d) && dev->msix_warned != d->domain_id ) + if ( !is_hardware_domain(d) && dev->msix_warned != d->domain_id ) { dev->msix_warned = d->domain_id; printk(XENLOG_ERR |