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
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to