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

Skip to content
Commit 24adf127 authored by Rusty Russell's avatar Rusty Russell
Browse files

lguest: avoid using NR_CPUS as a bounds check.



NR_CPUS (being a host number) is an arbitrary limit for the Guest.
Using the array size directly (which currently happes to be NR_CPUS)
is more futureproof.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 48e4043d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment