diff options
author | Konrad Rzeszutek Wilk <[email protected]> | 2011-12-16 17:38:18 -0500 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2012-01-06 14:02:26 -0800 |
commit | 76ccc297018d25d55b789bbd508861ef1e2cdb0c (patch) | |
tree | 27789ff0ea4a77ce4972987a836156255808f703 /arch/x86/kernel/x86_init.c | |
parent | fb7ebfe4108e2cdfa2bb88e57148087717463dfa (diff) |
x86/PCI: Expand the x86_msi_ops to have a restore MSIs.
The MSI restore function will become a function pointer in an
x86_msi_ops struct. It defaults to the implementation in the
io_apic.c and msi.c. We piggyback on the indirection mechanism
introduced by "x86: Introduce x86_msi_ops".
Cc: [email protected]
Cc: Thomas Gleixner <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: [email protected]
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r-- | arch/x86/kernel/x86_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index c1d6cd549397..83b05adaadf1 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c @@ -114,4 +114,5 @@ struct x86_msi_ops x86_msi = { .setup_msi_irqs = native_setup_msi_irqs, .teardown_msi_irq = native_teardown_msi_irq, .teardown_msi_irqs = default_teardown_msi_irqs, + .restore_msi_irqs = default_restore_msi_irqs, }; |