diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-06-06 05:18:06 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-06-26 05:24:35 -0400 |
commit | 8691e5a8f691cc2a4fda0651e8d307aaba0e7d68 (patch) | |
tree | 6cb6767064d2d43441212566da2d83dcc9a0cd8e /arch/x86/kernel/cpu/mtrr/main.c | |
parent | 490f5de52a87063fcb40e3b22f61b0779603ff6d (diff) |
smp_call_function: get rid of the unused nonatomic/retry argument
It's never used and the comments refer to nonatomic and retry
interchangably. So get rid of it.
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr/main.c')
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index 6a1e278d932..290652cefdd 100644 --- a/arch/x86/kernel/cpu/mtrr/main.c +++ b/arch/x86/kernel/cpu/mtrr/main.c | |||
@@ -222,7 +222,7 @@ static void set_mtrr(unsigned int reg, unsigned long base, | |||
222 | atomic_set(&data.gate,0); | 222 | atomic_set(&data.gate,0); |
223 | 223 | ||
224 | /* Start the ball rolling on other CPUs */ | 224 | /* Start the ball rolling on other CPUs */ |
225 | if (smp_call_function(ipi_handler, &data, 1, 0) != 0) | 225 | if (smp_call_function(ipi_handler, &data, 0) != 0) |
226 | panic("mtrr: timed out waiting for other CPUs\n"); | 226 | panic("mtrr: timed out waiting for other CPUs\n"); |
227 | 227 | ||
228 | local_irq_save(flags); | 228 | local_irq_save(flags); |
@@ -822,7 +822,7 @@ void mtrr_ap_init(void) | |||
822 | */ | 822 | */ |
823 | void mtrr_save_state(void) | 823 | void mtrr_save_state(void) |
824 | { | 824 | { |
825 | smp_call_function_single(0, mtrr_save_fixed_ranges, NULL, 1, 1); | 825 | smp_call_function_single(0, mtrr_save_fixed_ranges, NULL, 1); |
826 | } | 826 | } |
827 | 827 | ||
828 | static int __init mtrr_init_finialize(void) | 828 | static int __init mtrr_init_finialize(void) |