Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (5 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/cpufreq/cpufreq.c

    r31794 r31885  
    24052405static enum cpuhp_state hp_online;
    24062406
     2407static int cpuhp_cpufreq_online(unsigned int cpu)
     2408{
     2409        cpufreq_online(cpu);
     2410
     2411        return 0;
     2412}
     2413
     2414static int cpuhp_cpufreq_offline(unsigned int cpu)
     2415{
     2416        cpufreq_offline(cpu);
     2417
     2418        return 0;
     2419}
     2420
    24072421/**
    24082422 * cpufreq_register_driver - register a CPU Frequency driver
     
    24672481
    24682482        ret = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, "cpufreq:online",
    2469                                         cpufreq_online,
    2470                                         cpufreq_offline);
     2483                                        cpuhp_cpufreq_online,
     2484                                        cpuhp_cpufreq_offline);
    24712485        if (ret < 0)
    24722486                goto err_if_unreg;
Note: See TracChangeset for help on using the changeset viewer.