Skip to content

Commit

Permalink
x86: change wakeup_secondary name
Browse files Browse the repository at this point in the history
wakeup_secondary_via_INIT => wakeup_secondary_cpu.

This is to match i386, where init is not always used.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent f6bc402 commit 0717826
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/x86/kernel/smpboot_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
#include <mach_wakecpu.h>
#include <mach_apic.h>
#include <smpboot_hooks.h>
#include <mach_apic.h>

/* Set when the idlers are all forked */
int smp_threads_ready;
Expand Down Expand Up @@ -293,7 +294,8 @@ static void __inquire_remote_apic(int apicid)
/*
* Kick the secondary to wake up.
*/
static int __cpuinit wakeup_secondary_via_INIT(int phys_apicid, unsigned int start_rip)
static int __cpuinit wakeup_secondary_cpu(int phys_apicid,
unsigned int start_rip)
{
unsigned long send_status, accept_status = 0;
int maxlvt, num_starts, j;
Expand Down Expand Up @@ -534,7 +536,7 @@ static int __cpuinit do_boot_cpu(int cpu, int apicid)
/*
* Starting actual IPI sequence...
*/
boot_error = wakeup_secondary_via_INIT(apicid, start_rip);
boot_error = wakeup_secondary_cpu(apicid, start_rip);

if (!boot_error) {
/*
Expand Down

0 comments on commit 0717826

Please sign in to comment.