lkml.org 
[lkml]   [2016]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/22] idle/intel: Convert to hotplug state machine
On Sun, 27 Nov 2016, Sebastian Andrzej Siewior wrote:
> +static enum cpuhp_state hp_online;
> +
> static int __init intel_idle_init(void)
> {
...

> - cpu_notifier_register_done();
> + retval = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "idle/intel:online",
> + intel_idle_cpu_online, NULL);
> + if (retval < 0)
> + goto hp_setup_fail;
> + hp_online = retval;

Why do you want to store that. There is no exit function AFAICT.

Thanks,

tglx

\
 
 \ /
  Last update: 2016-11-28 18:33    [W:0.329 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site