|
@@ -71,7 +71,7 @@ static DEFINE_RAW_SPINLOCK(boot_lock);
|
|
|
* in coherency or not. This is necessary for the hotplug code to work
|
|
|
* reliably.
|
|
|
*/
|
|
|
-static void __cpuinit write_pen_release(u64 val)
|
|
|
+static void write_pen_release(u64 val)
|
|
|
{
|
|
|
void *start = (void *)&secondary_holding_pen_release;
|
|
|
unsigned long size = sizeof(secondary_holding_pen_release);
|
|
@@ -84,7 +84,7 @@ static void __cpuinit write_pen_release(u64 val)
|
|
|
* Boot a secondary CPU, and assign it the specified idle task.
|
|
|
* This also gives us the initial stack to use for this CPU.
|
|
|
*/
|
|
|
-static int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
|
|
|
+static int boot_secondary(unsigned int cpu, struct task_struct *idle)
|
|
|
{
|
|
|
unsigned long timeout;
|
|
|
|
|
@@ -122,7 +122,7 @@ static int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
|
|
|
|
|
|
static DECLARE_COMPLETION(cpu_running);
|
|
|
|
|
|
-int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle)
|
|
|
+int __cpu_up(unsigned int cpu, struct task_struct *idle)
|
|
|
{
|
|
|
int ret;
|
|
|
|
|
@@ -162,7 +162,7 @@ int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle)
|
|
|
* This is the secondary CPU boot entry. We're using this CPUs
|
|
|
* idle thread stack, but a set of temporary page tables.
|
|
|
*/
|
|
|
-asmlinkage void __cpuinit secondary_start_kernel(void)
|
|
|
+asmlinkage void secondary_start_kernel(void)
|
|
|
{
|
|
|
struct mm_struct *mm = &init_mm;
|
|
|
unsigned int cpu = smp_processor_id();
|