diff options
| author | Jens Axboe <jens.axboe@oracle.com> | 2008-05-09 03:39:44 -0400 |
|---|---|---|
| committer | Jens Axboe <jens.axboe@oracle.com> | 2008-06-26 05:24:38 -0400 |
| commit | 15c8b6c1aaaf1c4edd67e2f02e4d8e1bd1a51c0d (patch) | |
| tree | 3658f893c2f89ea0be4c6cc08aa11fa54476d0f4 /include | |
| parent | 8691e5a8f691cc2a4fda0651e8d307aaba0e7d68 (diff) | |
on_each_cpu(): kill unused 'retry' parameter
It's not even passed on to smp_call_function() anymore, since that
was removed. So kill it.
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/smp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index 338cad1b9548..55261101d09a 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h | |||
| @@ -89,7 +89,7 @@ static inline void init_call_single_data(void) | |||
| 89 | /* | 89 | /* |
| 90 | * Call a function on all processors | 90 | * Call a function on all processors |
| 91 | */ | 91 | */ |
| 92 | int on_each_cpu(void (*func) (void *info), void *info, int retry, int wait); | 92 | int on_each_cpu(void (*func) (void *info), void *info, int wait); |
| 93 | 93 | ||
| 94 | #define MSG_ALL_BUT_SELF 0x8000 /* Assume <32768 CPU's */ | 94 | #define MSG_ALL_BUT_SELF 0x8000 /* Assume <32768 CPU's */ |
| 95 | #define MSG_ALL 0x8001 | 95 | #define MSG_ALL 0x8001 |
| @@ -121,7 +121,7 @@ static inline int up_smp_call_function(void (*func)(void *), void *info) | |||
| 121 | } | 121 | } |
| 122 | #define smp_call_function(func, info, wait) \ | 122 | #define smp_call_function(func, info, wait) \ |
| 123 | (up_smp_call_function(func, info)) | 123 | (up_smp_call_function(func, info)) |
| 124 | #define on_each_cpu(func,info,retry,wait) \ | 124 | #define on_each_cpu(func,info,wait) \ |
| 125 | ({ \ | 125 | ({ \ |
| 126 | local_irq_disable(); \ | 126 | local_irq_disable(); \ |
| 127 | func(info); \ | 127 | func(info); \ |
