Thread (20 messages) 20 messages, 3 authors, 2017-03-28

Re: [PATCH 1/5] powerpc/smp: use cpu_to_chip_id() to find siblings

From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-03-02 03:44:28

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 <oohall@gmail.com>
---
Looks like a nice cleanup

Balbir
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help