diff options
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r-- | net/batman-adv/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index dc248697de71..ace72852ed7b 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h | |||
@@ -175,4 +175,6 @@ static inline int compare_eth(void *data1, void *data2) | |||
175 | return (memcmp(data1, data2, ETH_ALEN) == 0 ? 1 : 0); | 175 | return (memcmp(data1, data2, ETH_ALEN) == 0 ? 1 : 0); |
176 | } | 176 | } |
177 | 177 | ||
178 | #define atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) | ||
179 | |||
178 | #endif /* _NET_BATMAN_ADV_MAIN_H_ */ | 180 | #endif /* _NET_BATMAN_ADV_MAIN_H_ */ |