Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300258
b: refs/heads/master
c: 568b445
h: refs/heads/master
v: v3
  • Loading branch information
Srivatsa S. Bhat authored and Linus Torvalds committed May 16, 2012
1 parent 95fbd6d commit bb89a7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec2e0f9811a2c667d06feecb413c57f74c6b84f4
refs/heads/master: 568b44559d7ca269d367e694c74eb4436e7e3ccf
9 changes: 6 additions & 3 deletions trunk/arch/mn10300/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <linux/sched.h>
#include <linux/profile.h>
#include <linux/smp.h>
#include <linux/cpu.h>
#include <asm/tlbflush.h>
#include <asm/bitops.h>
#include <asm/processor.h>
Expand All @@ -38,7 +39,6 @@
#include "internal.h"

#ifdef CONFIG_HOTPLUG_CPU
#include <linux/cpu.h>
#include <asm/cacheflush.h>

static unsigned long sleep_mode[NR_CPUS];
Expand Down Expand Up @@ -874,10 +874,13 @@ static void __init smp_online(void)

cpu = smp_processor_id();

local_irq_enable();
notify_cpu_starting(cpu);

ipi_call_lock();
set_cpu_online(cpu, true);
smp_wmb();
ipi_call_unlock();

local_irq_enable();
}

/**
Expand Down

0 comments on commit bb89a7f

Please sign in to comment.