lkml.org 
[lkml]   [2016]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch 18/20] cpu/hotplug: Let upcoming cpu bring itself fully up
On Fri, Feb 26, 2016 at 06:43:41PM -0000, Thomas Gleixner wrote:
> @@ -1204,7 +1212,7 @@ static bool cpuhp_is_ap_state(enum cpuhp
> {
> if (state >= CPUHP_AP_OFFLINE && state <= CPUHP_AP_ONLINE)
> return true;

FWIW, this test is superfluous after this change, because
CPUHP_BRINGUP_CPU is less than CPUHP_AP_OFFLINE.

> - return state > CPUHP_BP_ONLINE;
> + return state > CPUHP_BRINGUP_CPU;
> }

Thanks,
Richard

\
 
 \ /
  Last update: 2016-03-02 19:01    [W:0.268 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site