m32r: Should index be positive?
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 1 Nov 2009 14:33:06 +0000 (15:33 +0100)
committerHirokazu Takata <takata@linux-m32r.org>
Tue, 3 Nov 2009 23:39:26 +0000 (08:39 +0900)
commit45cdd473301aae36e1f10664b9fe7ef5aad3f182
treeaf1feedba66ea1364f9607806eef46f8aad613c2
parent337214e8c6b0c777713b2483749f9c03102a416c
m32r: Should index be positive?

Index `ipi_num' is signed, test whether it is negative to
make sure we don't get a negative array element.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
arch/m32r/kernel/smp.c