On Thu, Mar 02, 2017 at 11:49:16AM +1100, Oliver O'Halloran wrote: > To determine which logical CPUs are on the same core the kernel uses the > ibm,chipid property from the device tree node associated with that cpu. > The lookup for this this information is currently open coded in both > traverse_siblings() and traverse_siblings_chip_id(). This patch replaces > these manual lookups with the existing cpu_to_chip_id() function. > > Signed-off-by: Oliver O'Halloran <ooh...@gmail.com> > ---
Looks like a nice cleanup Balbir