diff options
author | John Keller <jpk@sgi.com> | 2007-03-18 05:26:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-18 14:35:07 -0400 |
commit | 6a3d039078b337856bd3cfa436be3b1b223440a5 (patch) | |
tree | b4fef8a71875a829d4c1f8264b3f99910429667b /include/asm-ia64 | |
parent | 647157255915b76ddfbea87ca396ace364d158c5 (diff) |
[PATCH] ia64: platform_kernel_launch_event is noop on generic kernel
Add a missing #define for the platform_kernel_launch_event. Without this
fix, a call to platform_kernel_launch_event() becomes a noop on generic
kernels. SN systems require this fix to successfully kdump/kexec from
certain hardware errors.
[bwalle@suse.de: fix it]
Signed-off-by: John Keller <jpk@sgi.com>
Cc: Bernhard Walle <bwalle@suse.de>
Acked-by: Simon Horman <horms@verge.net.au>
Acked-by: Jay Lan <jlan@sgi.com>
Acked-by: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/machvec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ia64/machvec.h b/include/asm-ia64/machvec.h index 3c96ac19154e..ca33eb181ff2 100644 --- a/include/asm-ia64/machvec.h +++ b/include/asm-ia64/machvec.h | |||
@@ -168,6 +168,7 @@ extern void machvec_tlb_migrate_finish (struct mm_struct *); | |||
168 | # define platform_setup_msi_irq ia64_mv.setup_msi_irq | 168 | # define platform_setup_msi_irq ia64_mv.setup_msi_irq |
169 | # define platform_teardown_msi_irq ia64_mv.teardown_msi_irq | 169 | # define platform_teardown_msi_irq ia64_mv.teardown_msi_irq |
170 | # define platform_pci_fixup_bus ia64_mv.pci_fixup_bus | 170 | # define platform_pci_fixup_bus ia64_mv.pci_fixup_bus |
171 | # define platform_kernel_launch_event ia64_mv.kernel_launch_event | ||
171 | # endif | 172 | # endif |
172 | 173 | ||
173 | /* __attribute__((__aligned__(16))) is required to make size of the | 174 | /* __attribute__((__aligned__(16))) is required to make size of the |
@@ -269,6 +270,7 @@ struct ia64_machine_vector { | |||
269 | platform_setup_msi_irq, \ | 270 | platform_setup_msi_irq, \ |
270 | platform_teardown_msi_irq, \ | 271 | platform_teardown_msi_irq, \ |
271 | platform_pci_fixup_bus, \ | 272 | platform_pci_fixup_bus, \ |
273 | platform_kernel_launch_event \ | ||
272 | } | 274 | } |
273 | 275 | ||
274 | extern struct ia64_machine_vector ia64_mv; | 276 | extern struct ia64_machine_vector ia64_mv; |