platsmp.c (cf9ce948f47640797bd19980e1d99c6d17d0bdc3) platsmp.c (b1cffebf1029c87e1f1984d48463ee21093a6bc7)
1/*
2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *

--- 57 unchanged lines hidden (view full) ---

66static void __init imx_smp_init_cpus(void)
67{
68 int i, ncores;
69
70 ncores = scu_get_core_count(scu_base);
71
72 for (i = 0; i < ncores; i++)
73 set_cpu_possible(i, true);
1/*
2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *

--- 57 unchanged lines hidden (view full) ---

66static void __init imx_smp_init_cpus(void)
67{
68 int i, ncores;
69
70 ncores = scu_get_core_count(scu_base);
71
72 for (i = 0; i < ncores; i++)
73 set_cpu_possible(i, true);
74
75 set_smp_cross_call(gic_raise_softirq);
76}
77
78void imx_smp_prepare(void)
79{
80 scu_enable(scu_base);
81}
82
83static void __init imx_smp_prepare_cpus(unsigned int max_cpus)

--- 13 unchanged lines hidden ---
74}
75
76void imx_smp_prepare(void)
77{
78 scu_enable(scu_base);
79}
80
81static void __init imx_smp_prepare_cpus(unsigned int max_cpus)

--- 13 unchanged lines hidden ---