[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>
This commit is contained in:
Kyle McMartin
2007-06-04 02:26:52 -04:00
committed by Kyle McMartin
parent 3bb457af4f
commit c3d4ed4e3e
2 changed files with 5 additions and 7 deletions

View File

@ -295,8 +295,5 @@ os_hpmc_6:
b .
nop
ENDPROC(os_hpmc)
/* this label used to compute os_hpmc checksum */
ENTRY(os_hpmc_end)
ENTRY(os_hpmc_end) /* this label used to compute os_hpmc checksum */
nop