aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-13 18:03:16 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-13 19:21:18 -0500
commitb5606c2d4447e80b1d72406af4e78af1eda611d4 (patch)
treeebdaa1a0aae4279b84af82651c16a8777f76bfe4
parentfbf6bfca76d50abef478ba902b8597ecbadfd390 (diff)
remove final fastcall users
fastcall always expands to empty, remove it. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--Documentation/RCU/NMI-RCU.txt2
-rw-r--r--Documentation/kprobes.txt11
-rw-r--r--kernel/signal.c2
-rw-r--r--mm/filemap.c2
-rw-r--r--net/bluetooth/rfcomm/core.c4
-rw-r--r--net/core/dev.c2
-rw-r--r--net/core/sock.c4
7 files changed, 13 insertions, 14 deletions
diff --git a/Documentation/RCU/NMI-RCU.txt b/Documentation/RCU/NMI-RCU.txt
index d0634a5c3445..c64158ecde43 100644
--- a/Documentation/RCU/NMI-RCU.txt
+++ b/Documentation/RCU/NMI-RCU.txt
@@ -25,7 +25,7 @@ the NMI handler to take the default machine-specific action.
25This nmi_callback variable is a global function pointer to the current 25This nmi_callback variable is a global function pointer to the current
26NMI handler. 26NMI handler.
27 27
28 fastcall void do_nmi(struct pt_regs * regs, long error_code) 28 void do_nmi(struct pt_regs * regs, long error_code)
29 { 29 {
30 int cpu; 30 int cpu;
31 31
diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt
index 30c101761d0d..83f515c2905a 100644
--- a/Documentation/kprobes.txt
+++ b/Documentation/kprobes.txt
@@ -92,9 +92,8 @@ handler has run. Up to MAX_STACK_SIZE bytes are copied -- e.g.,
9264 bytes on i386. 9264 bytes on i386.
93 93
94Note that the probed function's args may be passed on the stack 94Note that the probed function's args may be passed on the stack
95or in registers (e.g., for x86_64 or for an i386 fastcall function). 95or in registers. The jprobe will work in either case, so long as the
96The jprobe will work in either case, so long as the handler's 96handler's prototype matches that of the probed function.
97prototype matches that of the probed function.
98 97
991.3 Return Probes 981.3 Return Probes
100 99
@@ -270,9 +269,9 @@ Kprobes runs the handler whose address is jp->entry.
270The handler should have the same arg list and return type as the probed 269The handler should have the same arg list and return type as the probed
271function; and just before it returns, it must call jprobe_return(). 270function; and just before it returns, it must call jprobe_return().
272(The handler never actually returns, since jprobe_return() returns 271(The handler never actually returns, since jprobe_return() returns
273control to Kprobes.) If the probed function is declared asmlinkage, 272control to Kprobes.) If the probed function is declared asmlinkage
274fastcall, or anything else that affects how args are passed, the 273or anything else that affects how args are passed, the handler's
275handler's declaration must match. 274declaration must match.
276 275
277register_jprobe() returns 0 on success, or a negative errno otherwise. 276register_jprobe() returns 0 on success, or a negative errno otherwise.
278 277
diff --git a/kernel/signal.c b/kernel/signal.c
index 2c1f08defac2..84917fe507f7 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -972,7 +972,7 @@ void zap_other_threads(struct task_struct *p)
972 } 972 }
973} 973}
974 974
975int fastcall __fatal_signal_pending(struct task_struct *tsk) 975int __fatal_signal_pending(struct task_struct *tsk)
976{ 976{
977 return sigismember(&tsk->pending.signal, SIGKILL); 977 return sigismember(&tsk->pending.signal, SIGKILL);
978} 978}
diff --git a/mm/filemap.c b/mm/filemap.c
index b7b1be6dbd83..5c74b68935ac 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -604,7 +604,7 @@ void __lock_page(struct page *page)
604} 604}
605EXPORT_SYMBOL(__lock_page); 605EXPORT_SYMBOL(__lock_page);
606 606
607int fastcall __lock_page_killable(struct page *page) 607int __lock_page_killable(struct page *page)
608{ 608{
609 DEFINE_WAIT_BIT(wait, &page->flags, PG_locked); 609 DEFINE_WAIT_BIT(wait, &page->flags, PG_locked);
610 610
diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c
index d3e4e1877e6a..0c2c93735e93 100644
--- a/net/bluetooth/rfcomm/core.c
+++ b/net/bluetooth/rfcomm/core.c
@@ -465,7 +465,7 @@ int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb)
465 return len; 465 return len;
466} 466}
467 467
468void fastcall __rfcomm_dlc_throttle(struct rfcomm_dlc *d) 468void __rfcomm_dlc_throttle(struct rfcomm_dlc *d)
469{ 469{
470 BT_DBG("dlc %p state %ld", d, d->state); 470 BT_DBG("dlc %p state %ld", d, d->state);
471 471
@@ -476,7 +476,7 @@ void fastcall __rfcomm_dlc_throttle(struct rfcomm_dlc *d)
476 rfcomm_schedule(RFCOMM_SCHED_TX); 476 rfcomm_schedule(RFCOMM_SCHED_TX);
477} 477}
478 478
479void fastcall __rfcomm_dlc_unthrottle(struct rfcomm_dlc *d) 479void __rfcomm_dlc_unthrottle(struct rfcomm_dlc *d)
480{ 480{
481 BT_DBG("dlc %p state %ld", d, d->state); 481 BT_DBG("dlc %p state %ld", d, d->state);
482 482
diff --git a/net/core/dev.c b/net/core/dev.c
index 9549417250bb..b2f6cb5e0f72 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2143,7 +2143,7 @@ static int process_backlog(struct napi_struct *napi, int quota)
2143 * 2143 *
2144 * The entry's receive function will be scheduled to run 2144 * The entry's receive function will be scheduled to run
2145 */ 2145 */
2146void fastcall __napi_schedule(struct napi_struct *n) 2146void __napi_schedule(struct napi_struct *n)
2147{ 2147{
2148 unsigned long flags; 2148 unsigned long flags;
2149 2149
diff --git a/net/core/sock.c b/net/core/sock.c
index 433715fb141a..09cb3a74de7f 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -1731,7 +1731,7 @@ void sock_init_data(struct socket *sock, struct sock *sk)
1731 atomic_set(&sk->sk_drops, 0); 1731 atomic_set(&sk->sk_drops, 0);
1732} 1732}
1733 1733
1734void fastcall lock_sock_nested(struct sock *sk, int subclass) 1734void lock_sock_nested(struct sock *sk, int subclass)
1735{ 1735{
1736 might_sleep(); 1736 might_sleep();
1737 spin_lock_bh(&sk->sk_lock.slock); 1737 spin_lock_bh(&sk->sk_lock.slock);
@@ -1748,7 +1748,7 @@ void fastcall lock_sock_nested(struct sock *sk, int subclass)
1748 1748
1749EXPORT_SYMBOL(lock_sock_nested); 1749EXPORT_SYMBOL(lock_sock_nested);
1750 1750
1751void fastcall release_sock(struct sock *sk) 1751void release_sock(struct sock *sk)
1752{ 1752{
1753 /* 1753 /*
1754 * The sk_lock has mutex_unlock() semantics: 1754 * The sk_lock has mutex_unlock() semantics: