aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2024-02-15 00:14:05 +1100
committerMichael Ellerman <[email protected]>2024-02-15 00:14:05 +1100
commit9832de654499f0bf797a3719c4d4c5bd401f18f5 (patch)
treeea776e1a12bfbed429aa09d9d0e9d5b8eed4ab9c /net/lapb/lapb_out.c
parentdca79603fbc592ec7ea8bd7ba274052d3984e882 (diff)
powerpc/smp: Factor out assign_threads()
Factor out the for loop that assigns CPU numbers to threads of a core. The function takes the next CPU number to use as input, and returns the next available CPU number after the threads has been assigned. This will allow a subsequent change to assign threads out of order. Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions