diff options
author | Toshi Kani <toshi.kani@hp.com> | 2013-05-30 00:30:05 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-05-30 00:30:05 +0200 |
commit | 1001b4d4a8ee6b2e7a6078a02ccdf68f91b192bd (patch) | |
tree | 5bd6dbc24954e10c9b655f66e6df108774d5474f /drivers/remoteproc | |
parent | Driver core: Introduce offline/online callbacks for memory blocks (diff) | |
download | linux-1001b4d4a8ee6b2e7a6078a02ccdf68f91b192bd.tar.xz linux-1001b4d4a8ee6b2e7a6078a02ccdf68f91b192bd.zip |
CPU: Fix sysfs cpu/online of offlined CPUs
As reported by Dave Hansen, sysfs cpu/online shows 1 for
offlined CPUs at boot.
Fix this problem by initializing dev.offline with cpu_online()
when registering a CPU.
References: https://lkml.org/lkml/2013/5/29/403
Reported-and-tested-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions