]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/arm/mach-realview/platsmp.c
[ARM SMP] Add local timer support for Realview MPcore
[mirror_ubuntu-zesty-kernel.git] / arch / arm / mach-realview / platsmp.c
index 09b35f62247a8863c268ec0ae4c1b3d3259c1d1d..0c7d4ac9a7b371c7a4221d96a918812cbdb7c811 100644 (file)
@@ -174,6 +174,11 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
        if (max_cpus > ncores)
                max_cpus = ncores;
 
+       /*
+        * Enable the local timer for primary CPU
+        */
+       local_timer_setup(cpu);
+
        /*
         * Initialise the possible/present maps.
         * cpu_possible_map describes the set of CPUs which may be present