Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366063
b: refs/heads/master
c: 94f4db3
h: refs/heads/master
i:
  366061: ef5df5b
  366059: 3a06a88
  366055: 4604eb6
  366047: 49bc2f2
v: v3
  • Loading branch information
Jacob Shin authored and Ingo Molnar committed Apr 22, 2013
1 parent eb06115 commit 56bd259
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 0cf5f4323b1b51ecca3e952f95110e03ea611882
refs/heads/master: 94f4db3590893c600506105b88dab581c7f6f5c8
5 changes: 3 additions & 2 deletions trunk/arch/x86/kernel/cpu/perf_event_amd_uncore.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ static void __init init_cpu_already_online(void *dummy)
{
unsigned int cpu = smp_processor_id();

amd_uncore_cpu_up_prepare(cpu);
amd_uncore_cpu_starting(cpu);
amd_uncore_cpu_online(cpu);
}
Expand Down Expand Up @@ -535,8 +534,10 @@ static int __init amd_uncore_init(void)

get_online_cpus();
/* init cpus already online before registering for hotplug notifier */
for_each_online_cpu(cpu)
for_each_online_cpu(cpu) {
amd_uncore_cpu_up_prepare(cpu);
smp_call_function_single(cpu, init_cpu_already_online, NULL, 1);
}

register_cpu_notifier(&amd_uncore_cpu_notifier_block);
put_online_cpus();
Expand Down

0 comments on commit 56bd259

Please sign in to comment.