[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:
committed by
Kyle McMartin
parent
3bb457af4f
commit
c3d4ed4e3e
@ -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
|
||||
|
Reference in New Issue
Block a user