disable interrput under ppc?

Scott Wood scottwood at freescale.com
Wed Sep 5 04:24:33 EST 2007


On Tue, Sep 04, 2007 at 10:44:14AM +0800, Wang, Baojun wrote:
> hi, list
> 
>   How can I disable interrput like `cli' in x86?

local_irq_disable().

> I want the following code freeze the box but it doesn't, $MSR is
> altered however the box is still alive, how can I freeze the box like
> `cli' in x86? Thanks very much!

Disabling interrupts doesn't freeze the machine by itself -- it depends
on what you do afterwards, which you didn't show.

-Scott


More information about the Linuxppc-embedded mailing list