~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to arch/mips/sibyte/sb1250/smp.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <linux/interrupt.h>
22
22
#include <linux/smp.h>
23
23
#include <linux/kernel_stat.h>
 
24
#include <linux/sched.h>
24
25
 
25
26
#include <asm/mmu_context.h>
26
27
#include <asm/io.h>
177
178
        /* Clear the mailbox to clear the interrupt */
178
179
        ____raw_writeq(((u64)action) << 48, mailbox_clear_regs[cpu]);
179
180
 
180
 
        /*
181
 
         * Nothing to do for SMP_RESCHEDULE_YOURSELF; returning from the
182
 
         * interrupt will do the reschedule for us
183
 
         */
 
181
        if (action & SMP_RESCHEDULE_YOURSELF)
 
182
                scheduler_ipi();
184
183
 
185
184
        if (action & SMP_CALL_FUNCTION)
186
185
                smp_call_function_interrupt();