diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-03-14 16:14:57 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-03-14 16:14:57 +0300 |
commit | 3e886b631e0684c689b8075778be505ae9ae7629 (patch) | |
tree | 78e2618f31ee06937370abb0f5545af2cb1e60ee | |
parent | c5e859f1d3a4317f304366e5f083ef4ff7828e5d (diff) | |
download | accel-ppp-3e886b631e0684c689b8075778be505ae9ae7629.tar.gz accel-ppp-3e886b631e0684c689b8075778be505ae9ae7629.zip |
ipoe: fix compiling module for ubuntu kernels
-rw-r--r-- | drivers/ipoe/ipoe.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c index 16787e93..910e7251 100644 --- a/drivers/ipoe/ipoe.c +++ b/drivers/ipoe/ipoe.c @@ -243,6 +243,11 @@ static int ipoe_check_interface(int ifindex) return r; } +#ifndef u64_stats_fetch_begin_bh +#define u64_stats_fetch_begin_bh u64_stats_fetch_begin_irq +#define u64_stats_fetch_retry_bh u64_stats_fetch_retry_irq +#endif + static int ipoe_do_nat(struct sk_buff *skb, __be32 new_addr, int to_peer) { |