diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2007-12-12 13:46:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:57:23 -0500 |
commit | 41380930d2cbdc0abf7513a675864258b7ac973d (patch) | |
tree | bded49b68abc1d1414acd7bb10dadc01b84fd232 /include/net | |
parent | 8b7817f3a959ed99d7443afc12f78a7e1fcc2063 (diff) |
[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')
-rw-r--r-- | include/net/bluetooth/rfcomm.h | 4 | ||||
-rw-r--r-- | include/net/sock.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h index 25aa575db807..98ec7a320689 100644 --- a/include/net/bluetooth/rfcomm.h +++ b/include/net/bluetooth/rfcomm.h | |||
@@ -252,8 +252,8 @@ static inline void rfcomm_dlc_put(struct rfcomm_dlc *d) | |||
252 | rfcomm_dlc_free(d); | 252 | rfcomm_dlc_free(d); |
253 | } | 253 | } |
254 | 254 | ||
255 | extern void FASTCALL(__rfcomm_dlc_throttle(struct rfcomm_dlc *d)); | 255 | extern void __rfcomm_dlc_throttle(struct rfcomm_dlc *d); |
256 | extern void FASTCALL(__rfcomm_dlc_unthrottle(struct rfcomm_dlc *d)); | 256 | extern void __rfcomm_dlc_unthrottle(struct rfcomm_dlc *d); |
257 | 257 | ||
258 | static inline void rfcomm_dlc_throttle(struct rfcomm_dlc *d) | 258 | static inline void rfcomm_dlc_throttle(struct rfcomm_dlc *d) |
259 | { | 259 | { |
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 { \ | |||
774 | lockdep_init_map(&(sk)->sk_lock.dep_map, (name), (key), 0); \ | 774 | lockdep_init_map(&(sk)->sk_lock.dep_map, (name), (key), 0); \ |
775 | } while (0) | 775 | } while (0) |
776 | 776 | ||
777 | extern void FASTCALL(lock_sock_nested(struct sock *sk, int subclass)); | 777 | extern void lock_sock_nested(struct sock *sk, int subclass); |
778 | 778 | ||
779 | static inline void lock_sock(struct sock *sk) | 779 | static inline void lock_sock(struct sock *sk) |
780 | { | 780 | { |
781 | lock_sock_nested(sk, 0); | 781 | lock_sock_nested(sk, 0); |
782 | } | 782 | } |
783 | 783 | ||
784 | extern void FASTCALL(release_sock(struct sock *sk)); | 784 | extern void release_sock(struct sock *sk); |
785 | 785 | ||
786 | /* BH context may only use the following locking interface. */ | 786 | /* BH context may only use the following locking interface. */ |
787 | #define bh_lock_sock(__sk) spin_lock(&((__sk)->sk_lock.slock)) | 787 | #define bh_lock_sock(__sk) spin_lock(&((__sk)->sk_lock.slock)) |