x86/irq: Remove x86_io_apic_ops.print_entries and related interfaces
Now there is no user of x86_io_apic_ops.print_entries anymore, so remove it. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Tested-by: Joerg Roedel <jroedel@suse.de> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: David Cohen <david.a.cohen@linux.intel.com> Cc: Sander Eikelenboom <linux@eikelenboom.it> Cc: David Vrabel <david.vrabel@citrix.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: iommu@lists.linux-foundation.org Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Dimitri Sivanich <sivanich@sgi.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Yijing Wang <wangyijing@huawei.com> Cc: Grant Likely <grant.likely@linaro.org> Link: http://lkml.kernel.org/r/1428978610-28986-4-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:

committed by
Thomas Gleixner

parent
b75e818f7f
commit
84bea5cc77
@@ -1339,61 +1339,6 @@ static void __init setup_IO_APIC_irqs(void)
|
||||
}
|
||||
}
|
||||
|
||||
void native_io_apic_print_entries(unsigned int apic, unsigned int nr_entries)
|
||||
{
|
||||
int i;
|
||||
|
||||
pr_debug(" NR Dst Mask Trig IRR Pol Stat Dmod Deli Vect:\n");
|
||||
|
||||
for (i = 0; i <= nr_entries; i++) {
|
||||
struct IO_APIC_route_entry entry;
|
||||
|
||||
entry = ioapic_read_entry(apic, i);
|
||||
|
||||
pr_debug(" %02x %02X ", i, entry.dest);
|
||||
pr_cont("%1d %1d %1d %1d %1d "
|
||||
"%1d %1d %02X\n",
|
||||
entry.mask,
|
||||
entry.trigger,
|
||||
entry.irr,
|
||||
entry.polarity,
|
||||
entry.delivery_status,
|
||||
entry.dest_mode,
|
||||
entry.delivery_mode,
|
||||
entry.vector);
|
||||
}
|
||||
}
|
||||
|
||||
void intel_ir_io_apic_print_entries(unsigned int apic,
|
||||
unsigned int nr_entries)
|
||||
{
|
||||
int i;
|
||||
|
||||
pr_debug(" NR Indx Fmt Mask Trig IRR Pol Stat Indx2 Zero Vect:\n");
|
||||
|
||||
for (i = 0; i <= nr_entries; i++) {
|
||||
struct IR_IO_APIC_route_entry *ir_entry;
|
||||
struct IO_APIC_route_entry entry;
|
||||
|
||||
entry = ioapic_read_entry(apic, i);
|
||||
|
||||
ir_entry = (struct IR_IO_APIC_route_entry *)&entry;
|
||||
|
||||
pr_debug(" %02x %04X ", i, ir_entry->index);
|
||||
pr_cont("%1d %1d %1d %1d %1d "
|
||||
"%1d %1d %X %02X\n",
|
||||
ir_entry->format,
|
||||
ir_entry->mask,
|
||||
ir_entry->trigger,
|
||||
ir_entry->irr,
|
||||
ir_entry->polarity,
|
||||
ir_entry->delivery_status,
|
||||
ir_entry->index2,
|
||||
ir_entry->zero,
|
||||
ir_entry->vector);
|
||||
}
|
||||
}
|
||||
|
||||
void ioapic_zap_locks(void)
|
||||
{
|
||||
raw_spin_lock_init(&ioapic_lock);
|
||||
|
Reference in New Issue
Block a user