diff options
Diffstat (limited to 'include/asm-sparc64/softirq.h')
-rw-r--r-- | include/asm-sparc64/softirq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/softirq.h b/include/asm-sparc64/softirq.h index fa32f67e5..8386e4a15 100644 --- a/include/asm-sparc64/softirq.h +++ b/include/asm-sparc64/softirq.h @@ -43,10 +43,12 @@ do { int ent = nr; \ do { int ent = nr; \ bh_mask &= ~(1 << ent); \ bh_mask_count[ent]++; \ + barrier(); \ } while(0) #define enable_bh(nr) \ do { int ent = nr; \ + barrier(); \ if (!--bh_mask_count[ent]) \ bh_mask |= 1 << ent; \ } while(0) |