aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/include/asm/bitops.h')
-rw-r--r--arch/parisc/include/asm/bitops.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/parisc/include/asm/bitops.h b/arch/parisc/include/asm/bitops.h
index 8c9b631d2a78..3f9406d9b9d6 100644
--- a/arch/parisc/include/asm/bitops.h
+++ b/arch/parisc/include/asm/bitops.h
@@ -8,6 +8,7 @@
8#include <linux/compiler.h> 8#include <linux/compiler.h>
9#include <asm/types.h> /* for BITS_PER_LONG/SHIFT_PER_LONG */ 9#include <asm/types.h> /* for BITS_PER_LONG/SHIFT_PER_LONG */
10#include <asm/byteorder.h> 10#include <asm/byteorder.h>
11#include <asm/barrier.h>
11#include <linux/atomic.h> 12#include <linux/atomic.h>
12 13
13/* 14/*
@@ -19,9 +20,6 @@
19#define CHOP_SHIFTCOUNT(x) (((unsigned long) (x)) & (BITS_PER_LONG - 1)) 20#define CHOP_SHIFTCOUNT(x) (((unsigned long) (x)) & (BITS_PER_LONG - 1))
20 21
21 22
22#define smp_mb__before_clear_bit() smp_mb()
23#define smp_mb__after_clear_bit() smp_mb()
24
25/* See http://marc.theaimsgroup.com/?t=108826637900003 for discussion 23/* See http://marc.theaimsgroup.com/?t=108826637900003 for discussion
26 * on use of volatile and __*_bit() (set/clear/change): 24 * on use of volatile and __*_bit() (set/clear/change):
27 * *_bit() want use of volatile. 25 * *_bit() want use of volatile.