Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
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