[parisc-linux-cvs] linux-2.5 willy

Grant Grundler grundler@dsl2.external.hp.com
Sun, 20 Oct 2002 22:11:07 -0600


Matthew Wilcox wrote:
> Log message:
> synchronise_irq() now takes an irq number to synchronise with.  x86 is
> using barrier() instead in probe_irq_on(), so change to barrier() too.

hehe...that's spelt with a 'z' ;^)

what does synchronize_irq() intend to do?
include/linux/kernel.h:#define barrier() __asm__ __volatile__("": : :"memory")

AFAICT, "barrier()" only prevents insn re-ordering by the compiler.
I fear we may need to use asm("sync") for synchronize_irq().

grant