[parisc-linux] Changing hppa default on panic to "reboot after 180 seconds"?

Matthew Wilcox willy at debian.org
Sat May 1 18:55:16 MDT 2004


On Sat, May 01, 2004 at 06:55:08PM -0400, Carlos O'Donell wrote:
> So how about this hookup?
> 
> @@ -452,9 +452,8 @@ void parisc_terminate(char *msg, struct 
>  	 * system will shut down immediately right here. */
>  	pdc_soft_power_button(0);
>  	
> -	/* Gutter the processor! */
> -	for(;;)
> -	    ;
> +	/* Call kernel panic() so reboot timeouts work properly */
> +	panic(msg);
>  }

We already output the msg; doing this would output it twice ...

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain


More information about the parisc-linux mailing list