diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-03 06:50:51 +0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-02 15:50:51 +0400 |
commit | 24adf12722b4f2800e5b5f0955d57033f0d0c9e5 (patch) | |
tree | 3f9aee46f5d5fab937c03732e668735dde7663da /lib/locking-selftest-rlock-hardirq.h | |
parent | 48e4043d4529523cbc7fa8dd745bd8e2c45ce1d3 (diff) | |
download | linux-24adf12722b4f2800e5b5f0955d57033f0d0c9e5.tar.xz |
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: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions