diff options
| author | Dave Jones <davej@suse.de> | 2002-04-02 19:21:43 -0800 |
|---|---|---|
| committer | Dave Jones <davej@suse.de> | 2002-04-02 19:21:43 -0800 |
| commit | c398fde6ca4e2741c25b1920203653c2e6205604 (patch) | |
| tree | fb51a1ad7e3e5df2192046e6072fd177676acd6d /include/linux/mtd/compatmac.h | |
| parent | 870b38b01fc385425704eac75aefd79eb553f094 (diff) | |
[PATCH] Fix up broken do while macros.
Diffstat (limited to 'include/linux/mtd/compatmac.h')
| -rw-r--r-- | include/linux/mtd/compatmac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/compatmac.h b/include/linux/mtd/compatmac.h index e6844448c327..9c9a2276f57e 100644 --- a/include/linux/mtd/compatmac.h +++ b/include/linux/mtd/compatmac.h @@ -190,8 +190,8 @@ static inline int try_inc_mod_count(struct module *mod) #if LINUX_VERSION_CODE < 0x20300 #include <linux/interrupt.h> -#define spin_lock_bh(lock) do {start_bh_atomic();spin_lock(lock);}while(0); -#define spin_unlock_bh(lock) do {spin_unlock(lock);end_bh_atomic();}while(0); +#define spin_lock_bh(lock) do {start_bh_atomic();spin_lock(lock);} while(0) +#define spin_unlock_bh(lock) do {spin_unlock(lock);end_bh_atomic();} while(0) #else #include <asm/softirq.h> #include <linux/spinlock.h> |
