lkml.org 
[lkml]   [2012]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/6] x86/apic_flat_64.c: Wakeup function in apic calls mwait or nmi method
    Date
    From: Fenghua Yu <fenghua.yu@intel.com>

    The wakeup function wakeup_secondary_cpu in apic_flat and apic_physflat call
    wakeup_secondary_cpu_via_soft().

    Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
    ---
    arch/x86/kernel/apic/apic_flat_64.c | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c
    index 0e881c4..dd79ab7 100644
    --- a/arch/x86/kernel/apic/apic_flat_64.c
    +++ b/arch/x86/kernel/apic/apic_flat_64.c
    @@ -219,6 +219,7 @@ static struct apic apic_flat = {
    .send_IPI_all = flat_send_IPI_all,
    .send_IPI_self = apic_send_IPI_self,

    + .wakeup_secondary_cpu = wakeup_secondary_cpu_via_soft,
    .trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW,
    .trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH,
    .wait_for_init_deassert = NULL,
    @@ -379,6 +380,7 @@ static struct apic apic_physflat = {
    .send_IPI_all = physflat_send_IPI_all,
    .send_IPI_self = apic_send_IPI_self,

    + .wakeup_secondary_cpu = wakeup_secondary_cpu_via_soft,
    .trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW,
    .trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH,
    .wait_for_init_deassert = NULL,
    --
    1.6.0.3


    \
     
     \ /
      Last update: 2012-06-04 21:01    [W:3.435 / U:0.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site