ARM: report present cpus instead of online CPUs
authorJon Mayo <jmayo@nvidia.com>
Tue, 21 Jun 2011 22:44:35 +0000 (15:44 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:47:58 +0000 (21:47 -0800)
commit84fca9fbd451e7a12febf620e28235ed74022371
tree30fff3d5bcba3ebfbe569b6b123ce3479bec822c
parentba754afaff4791cf8ec5a7032a352b4d627837dc
ARM: report present cpus instead of online CPUs

For machines that use hotplug to control special power domains, report
present cpus in /proc/cpuinfo and /proc/stat instead of the standard of
reporting online. This break hotplug behavior on all other platforms.

The option is enabled using CONFIG_REPORT_PRESENT_CPUS

Bug 849167

Original-Change-Id: Ib04bb73634b3a8c99592b1ac13eb471a8ecfd0c5
Reviewed-on: http://git-master/r/37732
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R746f854d51a4b8f15774a547a3219acf7576bf6e
arch/arm/kernel/setup.c
fs/proc/Kconfig
fs/proc/stat.c