From e180d34ffd4aab0859cabbe8a0f0c281deb44300 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 31 Mar 2004 07:09:40 -0800 Subject: [NET]: Mark lock_sock and release_sock as FASTCALL. --- include/net/sock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/net') 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)) -- cgit v1.2.3