lkml.org 
[lkml]   [2011]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 7/9] x86 idle: do not EXPORT_SYMBOL pm_idle and default_idle
    Date
    From: Len Brown <len.brown@intel.com>

    APM was the only potential modular user of pm_idle,
    and default_idle(), and that use is now gone.

    Signed-off-by: Len Brown <len.brown@intel.com>
    ---
    arch/x86/kernel/process.c | 4 ----
    1 files changed, 0 insertions(+), 4 deletions(-)

    diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
    index 094d4ac..9d485d9 100644
    --- a/arch/x86/kernel/process.c
    +++ b/arch/x86/kernel/process.c
    @@ -340,7 +340,6 @@ EXPORT_SYMBOL(boot_option_idle_override);
    * Powermanagement idle function, if any..
    */
    void (*pm_idle)(void);
    -EXPORT_SYMBOL(pm_idle);

    /*
    * We use this if we don't have any better
    @@ -365,9 +364,6 @@ void default_idle(void)
    trace_power_end(smp_processor_id());
    trace_cpu_idle(PWR_EVENT_EXIT, smp_processor_id());
    }
    -#ifdef CONFIG_APM_MODULE
    -EXPORT_SYMBOL(default_idle);
    -#endif

    void stop_this_cpu(void *dummy)
    {
    --
    1.7.4.2.406.gbe91


    \
     
     \ /
      Last update: 2011-03-31 08:07    [W:0.019 / U:34.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site