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

« back to all changes in this revision

Viewing changes to arch/powerpc/platforms/chrp/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:
30
30
#include <asm/mpic.h>
31
31
#include <asm/rtas.h>
32
32
 
33
 
static void __devinit smp_chrp_kick_cpu(int nr)
 
33
static int __devinit smp_chrp_kick_cpu(int nr)
34
34
{
35
35
        *(unsigned long *)KERNELBASE = nr;
36
36
        asm volatile("dcbf 0,%0"::"r"(KERNELBASE):"memory");
 
37
 
 
38
        return 0;
37
39
}
38
40
 
39
41
static void __devinit smp_chrp_setup_cpu(int cpu_nr)