[PARISC] Fix kernel panic in check_ivt
commitc3d4ed4e3e5aa8d9e6b4b795f004a7028ce780e9
authorKyle McMartin <kyle@parisc-linux.org>
Mon, 4 Jun 2007 06:26:52 +0000 (4 02:26 -0400)
committerKyle McMartin <kyle@minerva.i.cabal.ca>
Mon, 4 Jun 2007 06:26:52 +0000 (4 02:26 -0400)
tree1def009131bd6abec52a9a99a7c12ee22dc9b81f
parent3bb457af4fa86dceef57d7c3e959aff162457fdc
[PARISC] Fix kernel panic in check_ivt

check_ivt had some seriously broken code wrt function pointers on
parisc64. Instead of referencing the hpmc code via a function pointer,
export symbols and reference it as a const array.

Thanks to jda for pointing out the broken 64-bit func ptr handling.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/hpmc.S
arch/parisc/kernel/traps.c