[parisc-linux] [PARISC] Fix kernel panic in check_ivt

Matthew Wilcox matthew at wil.cx
Mon Jun 4 06:05:44 MDT 2007


On Mon, Jun 04, 2007 at 02:23:15AM -0400, Kyle McMartin wrote:
> @@ -802,13 +802,14 @@ void handle_interruption(int code, struct pt_regs *regs)
>  
>  int __init check_ivt(void *iva)
>  {
> +	extern const u32 os_hpmc[];
> +	extern const u32 os_hpmc_end[];

Cute.  If it works, it's cleaner code, so by all means.




More information about the parisc-linux mailing list