diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 21:53:26 -0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 21:53:26 -0400 | 
| commit | bdab225015fbbb45ccd8913f5d7c01b2bf67d8b2 (patch) | |
| tree | 5ef62301face958977a084bf2b6c5300296a25f2 /kernel | |
| parent | 7c5814c7199851c5fe9395d08fc1ab3c8c1531ea (diff) | |
| parent | 7c7fcf762e405eb040ee10d22d656a791f616122 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300
* git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300: (44 commits)
  MN10300: Save frame pointer in thread_info struct rather than global var
  MN10300: Change "Matsushita" to "Panasonic".
  MN10300: Create a defconfig for the ASB2364 board
  MN10300: Update the ASB2303 defconfig
  MN10300: ASB2364: Add support for SMSC911X and SMC911X
  MN10300: ASB2364: Handle the IRQ multiplexer in the FPGA
  MN10300: Generic time support
  MN10300: Specify an ELF HWCAP flag for MN10300 Atomic Operations Unit support
  MN10300: Map userspace atomic op regs as a vmalloc page
  MN10300: And Panasonic AM34 subarch and implement SMP
  MN10300: Delete idle_timestamp from irq_cpustat_t
  MN10300: Make various interrupt priority settings configurable
  MN10300: Optimise do_csum()
  MN10300: Implement atomic ops using atomic ops unit
  MN10300: Make the FPU operate in non-lazy mode under SMP
  MN10300: SMP TLB flushing
  MN10300: Use the [ID]PTEL2 registers rather than [ID]PTEL for TLB control
  MN10300: Make the use of PIDR to mark TLB entries controllable
  MN10300: Rename __flush_tlb*() to local_flush_tlb*()
  MN10300: AM34 erratum requires MMUCTR read and write on exception entry
  ...
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/smp.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/kernel/smp.c b/kernel/smp.c index ed6aacfcb7ef..12ed8b013e2d 100644 --- a/kernel/smp.c +++ b/kernel/smp.c | |||
| @@ -267,7 +267,7 @@ static DEFINE_PER_CPU_SHARED_ALIGNED(struct call_single_data, csd_data); | |||
| 267 | * | 267 | * | 
| 268 | * Returns 0 on success, else a negative status code. | 268 | * Returns 0 on success, else a negative status code. | 
| 269 | */ | 269 | */ | 
| 270 | int smp_call_function_single(int cpu, void (*func) (void *info), void *info, | 270 | int smp_call_function_single(int cpu, smp_call_func_t func, void *info, | 
| 271 | int wait) | 271 | int wait) | 
| 272 | { | 272 | { | 
| 273 | struct call_single_data d = { | 273 | struct call_single_data d = { | 
| @@ -336,7 +336,7 @@ EXPORT_SYMBOL(smp_call_function_single); | |||
| 336 | * 3) any other online cpu in @mask | 336 | * 3) any other online cpu in @mask | 
| 337 | */ | 337 | */ | 
| 338 | int smp_call_function_any(const struct cpumask *mask, | 338 | int smp_call_function_any(const struct cpumask *mask, | 
| 339 | void (*func)(void *info), void *info, int wait) | 339 | smp_call_func_t func, void *info, int wait) | 
| 340 | { | 340 | { | 
| 341 | unsigned int cpu; | 341 | unsigned int cpu; | 
| 342 | const struct cpumask *nodemask; | 342 | const struct cpumask *nodemask; | 
| @@ -416,7 +416,7 @@ void __smp_call_function_single(int cpu, struct call_single_data *data, | |||
| 416 | * must be disabled when calling this function. | 416 | * must be disabled when calling this function. | 
| 417 | */ | 417 | */ | 
| 418 | void smp_call_function_many(const struct cpumask *mask, | 418 | void smp_call_function_many(const struct cpumask *mask, | 
| 419 | void (*func)(void *), void *info, bool wait) | 419 | smp_call_func_t func, void *info, bool wait) | 
| 420 | { | 420 | { | 
| 421 | struct call_function_data *data; | 421 | struct call_function_data *data; | 
| 422 | unsigned long flags; | 422 | unsigned long flags; | 
| @@ -500,7 +500,7 @@ EXPORT_SYMBOL(smp_call_function_many); | |||
| 500 | * You must not call this function with disabled interrupts or from a | 500 | * You must not call this function with disabled interrupts or from a | 
| 501 | * hardware interrupt handler or from a bottom half handler. | 501 | * hardware interrupt handler or from a bottom half handler. | 
| 502 | */ | 502 | */ | 
| 503 | int smp_call_function(void (*func)(void *), void *info, int wait) | 503 | int smp_call_function(smp_call_func_t func, void *info, int wait) | 
| 504 | { | 504 | { | 
| 505 | preempt_disable(); | 505 | preempt_disable(); | 
| 506 | smp_call_function_many(cpu_online_mask, func, info, wait); | 506 | smp_call_function_many(cpu_online_mask, func, info, wait); | 
