summaryrefslogtreecommitdiff
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2007-12-12 21:46:51 +0300
committerDavid S. Miller <davem@davemloft.net>2008-01-29 01:57:23 +0300
commit41380930d2cbdc0abf7513a675864258b7ac973d (patch)
treebded49b68abc1d1414acd7bb10dadc01b84fd232 /include/net/sock.h
parent8b7817f3a959ed99d7443afc12f78a7e1fcc2063 (diff)
downloadlinux-41380930d2cbdc0abf7513a675864258b7ac973d.tar.xz
[NET]: Remove FASTCALL macro
X86_32 was the last user of the FASTCALL macro, now that it uses regparm(3) by default, this macro expands to nothing. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-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 4ce37ce8c411..416bc994adad 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -774,14 +774,14 @@ do { \
lockdep_init_map(&(sk)->sk_lock.dep_map, (name), (key), 0); \
} while (0)
-extern void FASTCALL(lock_sock_nested(struct sock *sk, int subclass));
+extern void lock_sock_nested(struct sock *sk, int subclass);
static inline void lock_sock(struct sock *sk)
{
lock_sock_nested(sk, 0);
}
-extern void FASTCALL(release_sock(struct sock *sk));
+extern void 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))