In the loop for counting the number of cores in a socket, we don't
need to check all PLPA_BITMASK_CPU_MAX processor ids, only up to
max_core_id[socket] processor ids.
While checking for invalid arguments for map_to_processor_id, the core
argument is checked against '> max_core_id_overall', but we can check
for '> max_core_id[socket]'.
Bert
|