platsmp.c (11e4afb49b7fa1fc8e1ffd850c1806dd86a08204) platsmp.c (9d704c04ff8ae61b60935d67ce334b18fc70f1b2)
1/*
2 * Copyright (C) 2002 ARM Ltd.
3 * Copyright (C) 2008 STMicroelctronics.
4 * Copyright (C) 2009 ST-Ericsson.
5 * Author: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
6 *
7 * This file is based on arm realview platform
8 *

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

73 * The secondary processor is waiting to be released from
74 * the holding pen - release it, then wait for it to flag
75 * that it has been released by resetting pen_release.
76 */
77 pen_release = cpu;
78 __cpuc_flush_dcache_area((void *)&pen_release, sizeof(pen_release));
79 outer_clean_range(__pa(&pen_release), __pa(&pen_release) + 1);
80
1/*
2 * Copyright (C) 2002 ARM Ltd.
3 * Copyright (C) 2008 STMicroelctronics.
4 * Copyright (C) 2009 ST-Ericsson.
5 * Author: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
6 *
7 * This file is based on arm realview platform
8 *

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

73 * The secondary processor is waiting to be released from
74 * the holding pen - release it, then wait for it to flag
75 * that it has been released by resetting pen_release.
76 */
77 pen_release = cpu;
78 __cpuc_flush_dcache_area((void *)&pen_release, sizeof(pen_release));
79 outer_clean_range(__pa(&pen_release), __pa(&pen_release) + 1);
80
81 smp_cross_call(cpumask_of(cpu));
82
81 timeout = jiffies + (1 * HZ);
82 while (time_before(jiffies, timeout)) {
83 if (pen_release == -1)
84 break;
85 }
86
87 /*
88 * now the secondary core is starting up let it run its

--- 90 unchanged lines hidden ---
83 timeout = jiffies + (1 * HZ);
84 while (time_before(jiffies, timeout)) {
85 if (pen_release == -1)
86 break;
87 }
88
89 /*
90 * now the secondary core is starting up let it run its

--- 90 unchanged lines hidden ---