[Devel] Re: [PATCH] Print number of oopses in Sysrq-P output

Andi Kleen ak at suse.de
Thu Jan 18 15:19:56 PST 2007


On Friday 19 January 2007 04:05, Alexey Dobriyan wrote:

> @@ -292,9 +292,11 @@ __setup("idle=", idle_setup);
>  void show_regs(struct pt_regs * regs)
>  {
>  	unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L;
> +	extern int die_counter;

externs should always be in some .h file, never in a sub scope.

-Andi




More information about the Devel mailing list