--- zzzz-none-000/linux-2.4.17/include/asm-sh/softirq.h 2001-09-08 19:29:09.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/include/asm-sh/softirq.h 2004-11-24 13:21:35.000000000 +0000 @@ -6,6 +6,7 @@ #define local_bh_disable() \ do { \ + preempt_disable(); \ local_bh_count(smp_processor_id())++; \ barrier(); \ } while (0) @@ -14,6 +15,7 @@ do { \ barrier(); \ local_bh_count(smp_processor_id())--; \ + preempt_enable(); \ } while (0) #define local_bh_enable() \ @@ -23,6 +25,7 @@ && softirq_pending(smp_processor_id())) { \ do_softirq(); \ } \ + preempt_enable(); \ } while (0) #define in_softirq() (local_bh_count(smp_processor_id()) != 0)