diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2015-04-13 22:29:40 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-04-24 09:36:52 -0400 |
commit | 84bea5cc7709dffdadfa9885a66efd67d9ffc24c (patch) | |
tree | bd6141e4c945979c20b34d3dd2e4fc3fa6673825 /arch/x86/kernel/apic/io_apic.c | |
parent | b75e818f7fc6db153a4ebfba1d31366c1cc531aa (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 3506e8aeba91..acb91c19f318 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -1339,61 +1339,6 @@ static void __init setup_IO_APIC_irqs(void) | |||
1339 | } | 1339 | } |
1340 | } | 1340 | } |
1341 | 1341 | ||
1342 | void native_io_apic_print_entries(unsigned int apic, unsigned int nr_entries) | ||
1343 | { | ||
1344 | int i; | ||
1345 | |||
1346 | pr_debug(" NR Dst Mask Trig IRR Pol Stat Dmod Deli Vect:\n"); | ||
1347 | |||
1348 | for (i = 0; i <= nr_entries; i++) { | ||
1349 | struct IO_APIC_route_entry entry; | ||
1350 | |||
1351 | entry = ioapic_read_entry(apic, i); | ||
1352 | |||
1353 | pr_debug(" %02x %02X ", i, entry.dest); | ||
1354 | pr_cont("%1d %1d %1d %1d %1d " | ||
1355 | "%1d %1d %02X\n", | ||
1356 | entry.mask, | ||
1357 | entry.trigger, | ||
1358 | entry.irr, | ||
1359 | entry.polarity, | ||
1360 | entry.delivery_status, | ||
1361 | entry.dest_mode, | ||
1362 | entry.delivery_mode, | ||
1363 | entry.vector); | ||
1364 | } | ||
1365 | } | ||
1366 | |||
1367 | void intel_ir_io_apic_print_entries(unsigned int apic, | ||
1368 | unsigned int nr_entries) | ||
1369 | { | ||
1370 | int i; | ||
1371 | |||
1372 | pr_debug(" NR Indx Fmt Mask Trig IRR Pol Stat Indx2 Zero Vect:\n"); | ||
1373 | |||
1374 | for (i = 0; i <= nr_entries; i++) { | ||
1375 | struct IR_IO_APIC_route_entry *ir_entry; | ||
1376 | struct IO_APIC_route_entry entry; | ||
1377 | |||
1378 | entry = ioapic_read_entry(apic, i); | ||
1379 | |||
1380 | ir_entry = (struct IR_IO_APIC_route_entry *)&entry; | ||
1381 | |||
1382 | pr_debug(" %02x %04X ", i, ir_entry->index); | ||
1383 | pr_cont("%1d %1d %1d %1d %1d " | ||
1384 | "%1d %1d %X %02X\n", | ||
1385 | ir_entry->format, | ||
1386 | ir_entry->mask, | ||
1387 | ir_entry->trigger, | ||
1388 | ir_entry->irr, | ||
1389 | ir_entry->polarity, | ||
1390 | ir_entry->delivery_status, | ||
1391 | ir_entry->index2, | ||
1392 | ir_entry->zero, | ||
1393 | ir_entry->vector); | ||
1394 | } | ||
1395 | } | ||
1396 | |||
1397 | void ioapic_zap_locks(void) | 1342 | void ioapic_zap_locks(void) |
1398 | { | 1343 | { |
1399 | raw_spin_lock_init(&ioapic_lock); | 1344 | raw_spin_lock_init(&ioapic_lock); |