diff options
author | Jerry Gilliam <Jerry.Gilliam@Sun.COM> | 2008-12-26 15:12:57 -0800 |
---|---|---|
committer | Jerry Gilliam <Jerry.Gilliam@Sun.COM> | 2008-12-26 15:12:57 -0800 |
commit | 5c066ec28ea93f3a7c93082611a61747f255290a (patch) | |
tree | 19542bf63c0051f1d6eca20b1cc47146696c437e /usr/src/uts/i86xpv/io/psm | |
parent | 0f509175c7fa701d6edf3f65789303587905b1bd (diff) | |
download | illumos-joyent-5c066ec28ea93f3a7c93082611a61747f255290a.tar.gz |
6717523 ddi_binding_name/ddi_get_name use problematic
Diffstat (limited to 'usr/src/uts/i86xpv/io/psm')
-rw-r--r-- | usr/src/uts/i86xpv/io/psm/xpv_psm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/i86xpv/io/psm/xpv_psm.c b/usr/src/uts/i86xpv/io/psm/xpv_psm.c index dd0a84c27f..ea483955f4 100644 --- a/usr/src/uts/i86xpv/io/psm/xpv_psm.c +++ b/usr/src/uts/i86xpv/io/psm/xpv_psm.c @@ -996,7 +996,7 @@ apic_alloc_vectors(dev_info_t *dip, int inum, int count, int pri, int type, * It doesn't return consecutive vectors. This code is a first * cut for the (future) time that MSI is supported. */ - major = (dip != NULL) ? ddi_name_to_major(ddi_get_name(dip)) : 0; + major = (dip != NULL) ? ddi_driver_major(dip) : 0; for (i = 0; i < rcount; i++) { if ((irqno = apic_allocate_irq(apic_first_avail_irq)) == INVALID_IRQ) { |