From c3d4ed4e3e5aa8d9e6b4b795f004a7028ce780e9 Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Mon, 4 Jun 2007 02:26:52 -0400 Subject: [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 --- arch/parisc/kernel/hpmc.S | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'arch/parisc/kernel/hpmc.S') diff --git a/arch/parisc/kernel/hpmc.S b/arch/parisc/kernel/hpmc.S index d8baa158d8a0..43b41df0b541 100644 --- a/arch/parisc/kernel/hpmc.S +++ b/arch/parisc/kernel/hpmc.S @@ -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 -- cgit v1.2.3-59-g8ed1b