git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48e4043
)
lguest: avoid using NR_CPUS as a bounds check.
author
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 3 May 2008 02:50:51 +0000
(21:50 -0500)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 2 May 2008 11:50:51 +0000
(21:50 +1000)
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: Rusty Russell <rusty@rustcorp.com.au>
No differences found