Hi Dave,
In this patch series, I introduce support for cpu_active_mask.
And I use MAX(get_cpus_online(),get_cpus_active()) to get CPU
number for ARM platform.
The last patch changes NR_CPUS to fit ARM linux's config.
Thanks,
Liu Hua
changes from v1:
-----------------------------------------------
-changed some macros related to cpu map
-use MAX(get_cpus_online(),get_cpus_active()) as online CPU
number
Liu Hua (4):
crash: change some marcos related to cpu map
crash: support cpu_active_mask
crash: ARM: get online CPUs from cpu_active_mask
crash: ARM: change NR_CPUS to 32
arm.c | 2 +-
defs.h | 12 +++++-----
diskdump.c | 4 ++--
kernel.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++----------
netdump.c | 4 ++--
ppc.c | 2 +-
ppc64.c | 14 +++++++-----
s390.c | 4 ++--
s390x.c | 4 ++--
9 files changed, 89 insertions(+), 33 deletions(-)
--
1.9.0