Re: [PARISC] Fix kernel panic in check_ivt

Matthew Wilcox <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.