Merge commit '317f394160e9beb97d19a84c39b7e5eb3d7815a8'
authorDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2011 20:10:22 +0000 (13:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 May 2011 20:10:22 +0000 (13:10 -0700)
Conflicts:
arch/sparc/kernel/smp_32.c

With merge conflict help from Daniel Hellstrom.

Signed-off-by: David S. Miller <davem@davemloft.net>
1  2 
arch/blackfin/mach-common/smp.c
arch/sparc/kernel/smp_32.c
arch/sparc/kernel/smp_64.c
include/linux/sched.h
kernel/sched.c

Simple merge
index 41102c5a6702ddf0d181f5d325efef4d3044ee05,f95690c167b637b597e4ee2f7468773658e119f6..d5b3958be0b40ac25fdcb7d209d10d950c7df80e
@@@ -139,46 -134,6 +139,46 @@@ void smp_send_stop(void
  {
  }
  
-       /*
-        * do nothing, since it all was about calling re-schedule
-        * routine called by interrupt return code.
-        */
 +void arch_send_call_function_single_ipi(int cpu)
 +{
 +      /* trigger one IPI single call on one CPU */
 +      BTFIXUP_CALL(smp_ipi_single)(cpu);
 +}
 +
 +void arch_send_call_function_ipi_mask(const struct cpumask *mask)
 +{
 +      int cpu;
 +
 +      /* trigger IPI mask call on each CPU */
 +      for_each_cpu(cpu, mask)
 +              BTFIXUP_CALL(smp_ipi_mask_one)(cpu);
 +}
 +
 +void smp_resched_interrupt(void)
 +{
++      irq_enter();
++      scheduler_ipi();
 +      local_cpu_data().irq_resched_count++;
++      irq_exit();
++      /* re-schedule routine called by interrupt return code. */
 +}
 +
 +void smp_call_function_single_interrupt(void)
 +{
 +      irq_enter();
 +      generic_smp_call_function_single_interrupt();
 +      local_cpu_data().irq_call_count++;
 +      irq_exit();
 +}
 +
 +void smp_call_function_interrupt(void)
 +{
 +      irq_enter();
 +      generic_smp_call_function_interrupt();
 +      local_cpu_data().irq_call_count++;
 +      irq_exit();
 +}
 +
  void smp_flush_cache_all(void)
  {
        xc0((smpfunc_t) BTFIXUP_CALL(local_flush_cache_all));
Simple merge
Simple merge
diff --cc kernel/sched.c
Simple merge