commit | 130708331bc6b03a3c3a78599333faddfebbd0f3 | [log] [tgz] |
---|---|---|
author | Yuan ZhaoXiong <yuanzhaoxiong@baidu.com> | Sun May 23 21:31:30 2021 +0800 |
committer | Thomas Gleixner <tglx@linutronix.de> | Tue May 25 17:24:52 2021 +0200 |
tree | 7b47b8d0553098423eb4e37a2116600198a48d7e | |
parent | c4681547bcce777daf576925a966ffa824edd09d [diff] |
cpu/hotplug: Simplify access to percpu cpuhp_state It is unnecessary to invoke per_cpu_ptr() everytime to access cpuhp_state. Use the available pointer instead. Signed-off-by: Yuan ZhaoXiong <yuanzhaoxiong@baidu.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Valentin Schneider <valentin.schneider@arm.com> Link: https://lore.kernel.org/r/1621776690-13264-1-git-send-email-yuanzhaoxiong@baidu.com