summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/x86_init.c
diff options
context:
space:
mode:
authorJoerg Roedel <joro@8bytes.org>2012-09-26 12:44:36 +0200
committerJoerg Roedel <joro@8bytes.org>2013-01-28 10:48:30 +0100
commitafcc8a40a090f7a65d3b72bac1a26fc6dbb63b10 (patch)
tree68dca920cd86459c3468ae0b5d22eab5af4af4b2 /arch/x86/kernel/x86_init.c
parentx86, io_apic: Introduce x86_io_apic_ops.disable() (diff)
downloadlinux-afcc8a40a090f7a65d3b72bac1a26fc6dbb63b10.tar.xz
linux-afcc8a40a090f7a65d3b72bac1a26fc6dbb63b10.zip
x86, io_apic: Introduce x86_io_apic_ops.print_entries for debugging
This call-back is used to dump IO-APIC entries for debugging purposes into the kernel log. VT-d needs a special routine for this and will overwrite the default. Signed-off-by: Joerg Roedel <joro@8bytes.org> Acked-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r--arch/x86/kernel/x86_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c
index 754524acc845..ee4af8b04841 100644
--- a/arch/x86/kernel/x86_init.c
+++ b/arch/x86/kernel/x86_init.c
@@ -123,4 +123,5 @@ struct x86_io_apic_ops x86_io_apic_ops = {
.write = native_io_apic_write,
.modify = native_io_apic_modify,
.disable = native_disable_io_apic,
+ .print_entries = native_io_apic_print_entries,
};