summaryrefslogtreecommitdiffstats
path: root/net/sctp/endpointola.c
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2014-01-21 08:44:07 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-22 03:40:40 +0100
commit79b91130a2679ea5063d49c021d97346a09eb0a5 (patch)
treec529035c6a148ea9c407326f0ba5d29b9ab69e7d /net/sctp/endpointola.c
parentsctp: remove macros sctp_spin_[un]lock_irqrestore (diff)
downloadlinux-79b91130a2679ea5063d49c021d97346a09eb0a5.tar.xz
linux-79b91130a2679ea5063d49c021d97346a09eb0a5.zip
sctp: remove macros sctp_local_bh_{disable|enable}
Redefined local_bh_{disable|enable} to sctp_local_bh_{disable|enable} for user space friendly code which we haven't use in years, so removing them. Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/endpointola.c')
-rw-r--r--net/sctp/endpointola.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c
index 6ffb6c1b13b7..8e5fdea05216 100644
--- a/net/sctp/endpointola.c
+++ b/net/sctp/endpointola.c
@@ -368,9 +368,9 @@ struct sctp_association *sctp_endpoint_lookup_assoc(
{
struct sctp_association *asoc;
- sctp_local_bh_disable();
+ local_bh_disable();
asoc = __sctp_endpoint_lookup_assoc(ep, paddr, transport);
- sctp_local_bh_enable();
+ local_bh_enable();
return asoc;
}