Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax
In directory usw-pr-cvs1:/tmp/cvs-serv30383
Modified Files:
softirq.h
Log Message:
Need GCC optimisation barriers here, not memory write/read barriers
Index: softirq.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/softirq.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** softirq.h 2001/01/17 16:18:52 1.1
--- softirq.h 2001/01/23 23:55:13 1.2
***************
*** 9,18 ****
{
local_bh_count(cpu)++;
! mb();
}
extern inline void cpu_bh_enable(int cpu)
{
! mb();
local_bh_count(cpu)--;
}
--- 9,18 ----
{
local_bh_count(cpu)++;
! barrier();
}
extern inline void cpu_bh_enable(int cpu)
{
! barrier();
local_bh_count(cpu)--;
}
|