Commit b5606c2d authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds

remove final fastcall users

fastcall always expands to empty, remove it.
Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fbf6bfca
...@@ -25,7 +25,7 @@ the NMI handler to take the default machine-specific action. ...@@ -25,7 +25,7 @@ the NMI handler to take the default machine-specific action.
This nmi_callback variable is a global function pointer to the current This nmi_callback variable is a global function pointer to the current
NMI handler. NMI handler.
fastcall void do_nmi(struct pt_regs * regs, long error_code) void do_nmi(struct pt_regs * regs, long error_code)
{ {
int cpu; int cpu;
......
...@@ -92,9 +92,8 @@ handler has run. Up to MAX_STACK_SIZE bytes are copied -- e.g., ...@@ -92,9 +92,8 @@ handler has run. Up to MAX_STACK_SIZE bytes are copied -- e.g.,
64 bytes on i386. 64 bytes on i386.
Note that the probed function's args may be passed on the stack Note that the probed function's args may be passed on the stack
or in registers (e.g., for x86_64 or for an i386 fastcall function). or in registers. The jprobe will work in either case, so long as the
The jprobe will work in either case, so long as the handler's handler's prototype matches that of the probed function.
prototype matches that of the probed function.
1.3 Return Probes 1.3 Return Probes
...@@ -270,9 +269,9 @@ Kprobes runs the handler whose address is jp->entry. ...@@ -270,9 +269,9 @@ Kprobes runs the handler whose address is jp->entry.
The handler should have the same arg list and return type as the probed The handler should have the same arg list and return type as the probed
function; and just before it returns, it must call jprobe_return(). function; and just before it returns, it must call jprobe_return().
(The handler never actually returns, since jprobe_return() returns (The handler never actually returns, since jprobe_return() returns
control to Kprobes.) If the probed function is declared asmlinkage, control to Kprobes.) If the probed function is declared asmlinkage
fastcall, or anything else that affects how args are passed, the or anything else that affects how args are passed, the handler's
handler's declaration must match. declaration must match.
register_jprobe() returns 0 on success, or a negative errno otherwise. register_jprobe() returns 0 on success, or a negative errno otherwise.
......
...@@ -972,7 +972,7 @@ void zap_other_threads(struct task_struct *p) ...@@ -972,7 +972,7 @@ void zap_other_threads(struct task_struct *p)
} }
} }
int fastcall __fatal_signal_pending(struct task_struct *tsk) int __fatal_signal_pending(struct task_struct *tsk)
{ {
return sigismember(&tsk->pending.signal, SIGKILL); return sigismember(&tsk->pending.signal, SIGKILL);
} }
......
...@@ -604,7 +604,7 @@ void __lock_page(struct page *page) ...@@ -604,7 +604,7 @@ void __lock_page(struct page *page)
} }
EXPORT_SYMBOL(__lock_page); EXPORT_SYMBOL(__lock_page);
int fastcall __lock_page_killable(struct page *page) int __lock_page_killable(struct page *page)
{ {
DEFINE_WAIT_BIT(wait, &page->flags, PG_locked); DEFINE_WAIT_BIT(wait, &page->flags, PG_locked);
......
...@@ -465,7 +465,7 @@ int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb) ...@@ -465,7 +465,7 @@ int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb)
return len; return len;
} }
void fastcall __rfcomm_dlc_throttle(struct rfcomm_dlc *d) void __rfcomm_dlc_throttle(struct rfcomm_dlc *d)
{ {
BT_DBG("dlc %p state %ld", d, d->state); BT_DBG("dlc %p state %ld", d, d->state);
...@@ -476,7 +476,7 @@ void fastcall __rfcomm_dlc_throttle(struct rfcomm_dlc *d) ...@@ -476,7 +476,7 @@ void fastcall __rfcomm_dlc_throttle(struct rfcomm_dlc *d)
rfcomm_schedule(RFCOMM_SCHED_TX); rfcomm_schedule(RFCOMM_SCHED_TX);
} }
void fastcall __rfcomm_dlc_unthrottle(struct rfcomm_dlc *d) void __rfcomm_dlc_unthrottle(struct rfcomm_dlc *d)
{ {
BT_DBG("dlc %p state %ld", d, d->state); BT_DBG("dlc %p state %ld", d, d->state);
......
...@@ -2143,7 +2143,7 @@ static int process_backlog(struct napi_struct *napi, int quota) ...@@ -2143,7 +2143,7 @@ static int process_backlog(struct napi_struct *napi, int quota)
* *
* The entry's receive function will be scheduled to run * The entry's receive function will be scheduled to run
*/ */
void fastcall __napi_schedule(struct napi_struct *n) void __napi_schedule(struct napi_struct *n)
{ {
unsigned long flags; unsigned long flags;
......
...@@ -1731,7 +1731,7 @@ void sock_init_data(struct socket *sock, struct sock *sk) ...@@ -1731,7 +1731,7 @@ void sock_init_data(struct socket *sock, struct sock *sk)
atomic_set(&sk->sk_drops, 0); atomic_set(&sk->sk_drops, 0);
} }
void fastcall lock_sock_nested(struct sock *sk, int subclass) void lock_sock_nested(struct sock *sk, int subclass)
{ {
might_sleep(); might_sleep();
spin_lock_bh(&sk->sk_lock.slock); spin_lock_bh(&sk->sk_lock.slock);
...@@ -1748,7 +1748,7 @@ void fastcall lock_sock_nested(struct sock *sk, int subclass) ...@@ -1748,7 +1748,7 @@ void fastcall lock_sock_nested(struct sock *sk, int subclass)
EXPORT_SYMBOL(lock_sock_nested); EXPORT_SYMBOL(lock_sock_nested);
void fastcall release_sock(struct sock *sk) void release_sock(struct sock *sk)
{ {
/* /*
* The sk_lock has mutex_unlock() semantics: * The sk_lock has mutex_unlock() semantics:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment