ANDROID: cpu: send KOBJ_ONLINE event when enabling cpus
authorThierry Strudel <tstrudel@google.com>
Wed, 15 Jun 2016 00:46:44 +0000 (17:46 -0700)
committerMark Salyzyn <salyzyn@google.com>
Tue, 21 Jun 2016 19:58:10 +0000 (12:58 -0700)
commit872e24621a63b75b3b644f6369b04bfb092264b1
treea0032276646168fe50c8a33909da005726dd9097
parentab4f14dd052ba453558a8913d8d5547abbfc7b88
ANDROID: cpu: send KOBJ_ONLINE event when enabling cpus

In case some sysfs nodes needs to be labeled with a different label than
sysfs then user needs to be notified when a core is brought back online.

Signed-off-by: Thierry Strudel <tstrudel@google.com>
Bug: 29359497
Change-Id: I0395c86e01cd49c348fda8f93087d26f88557c91
kernel/cpu.c