From: Rusty Russell Date: Sat, 3 May 2008 02:50:51 +0000 (-0500) Subject: lguest: avoid using NR_CPUS as a bounds check. X-Git-Tag: v2.6.26-rc1~15^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24adf12722b4f2800e5b5f0955d57033f0d0c9e5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed