Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 05a11784 authored by Paul Mundt's avatar Paul Mundt Committed by Paul Mundt
Browse files

sh: Fix up cpu to node mapping in sysfs.



Currently cpu_to_node() is always 0 in the UP case, though
we do want to have the CPU association linked in under sysfs
even in the cases where we're only on a single CPU.

Fix this up, so we have the cpu0 link on all of the available
nodes that don't already have a CPU link of their own.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 5bbeafca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment