platsmp.c (cf9ce948f47640797bd19980e1d99c6d17d0bdc3) platsmp.c (b1cffebf1029c87e1f1984d48463ee21093a6bc7)
1/*
2 * SMP support for R-Mobile / SH-Mobile
3 *
4 * Copyright (C) 2010 Magnus Damm
5 * Copyright (C) 2011 Paul Mundt
6 *
7 * Based on vexpress, Copyright (C) 2002 ARM Ltd, All Rights Reserved
8 *

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

21 if (ncores > nr_cpu_ids) {
22 pr_warn("SMP: %u cores greater than maximum (%u), clipping\n",
23 ncores, nr_cpu_ids);
24 ncores = nr_cpu_ids;
25 }
26
27 for (i = 0; i < ncores; i++)
28 set_cpu_possible(i, true);
1/*
2 * SMP support for R-Mobile / SH-Mobile
3 *
4 * Copyright (C) 2010 Magnus Damm
5 * Copyright (C) 2011 Paul Mundt
6 *
7 * Based on vexpress, Copyright (C) 2002 ARM Ltd, All Rights Reserved
8 *

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

21 if (ncores > nr_cpu_ids) {
22 pr_warn("SMP: %u cores greater than maximum (%u), clipping\n",
23 ncores, nr_cpu_ids);
24 ncores = nr_cpu_ids;
25 }
26
27 for (i = 0; i < ncores; i++)
28 set_cpu_possible(i, true);
29
30 set_smp_cross_call(gic_raise_softirq);
31}
29}