Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc/smp: Lookup avail once per device tree node
The of_device_is_available() check only needs to be done once per device node, there's no need to repeat it for each thread. Move it out of the loop. Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
- Loading branch information