summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2004-03-31 07:09:40 -0800
committerStephen Hemminger <shemminger@osdl.org>2004-03-31 07:09:40 -0800
commite180d34ffd4aab0859cabbe8a0f0c281deb44300 (patch)
treeb53bc43c04f65e423c7d87e19744e814d829a719 /include/net
parent96531b3706a5d1e84f138ce45afb3d003f6adade (diff)
[NET]: Mark lock_sock and release_sock as FASTCALL.
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 115ace226a2a..bc35b5486999 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -561,8 +561,8 @@ extern void __lock_sock(struct sock *sk);
extern void __release_sock(struct sock *sk);
#define sock_owned_by_user(sk) ((sk)->sk_lock.owner)
-extern void lock_sock(struct sock *sk);
-extern void release_sock(struct sock *sk);
+extern void FASTCALL(lock_sock(struct sock *sk));
+extern void FASTCALL(release_sock(struct sock *sk));
/* BH context may only use the following locking interface. */
#define bh_lock_sock(__sk) spin_lock(&((__sk)->sk_lock.slock))