Re: [PATCH 1/3] powerpc: Fixup hard_irq_disable semantics

2007-05-10 Thread Benjamin Herrenschmidt
On Thu, 2007-05-10 at 09:44 +0200, Geert Uytterhoeven wrote: > On Thu, 10 May 2007, Benjamin Herrenschmidt wrote: > > This patch renames the raw hard_irq_{enable,disable} into > > __hard_irq_{enable,disable} and introduces a higher level > > hard_irq_disable() function that can be used by any code

Re: [PATCH 1/3] powerpc: Fixup hard_irq_disable semantics

2007-05-10 Thread Geert Uytterhoeven
On Thu, 10 May 2007, Benjamin Herrenschmidt wrote: > This patch renames the raw hard_irq_{enable,disable} into > __hard_irq_{enable,disable} and introduces a higher level > hard_irq_disable() function that can be used by any code > to enforce that IRQs are fully disabled, not only lazy > disabled.

[PATCH 1/3] powerpc: Fixup hard_irq_disable semantics

2007-05-09 Thread Benjamin Herrenschmidt
This patch renames the raw hard_irq_{enable,disable} into __hard_irq_{enable,disable} and introduces a higher level hard_irq_disable() function that can be used by any code to enforce that IRQs are fully disabled, not only lazy disabled. The difference with the __ versions is that it will update s