sh: intc_prio_data() test before subtraction on unsigned
authorroel kluin <roel.kluin@gmail.com>
Tue, 9 Sep 2008 21:02:43 +0000 (23:02 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 10 Sep 2008 03:01:46 +0000 (12:01 +0900)
commitb21a91043592434e2847c4b552be7b51851d92c3
tree610ca37711d0888adcc65d34fc6cd0236050dca1
parent6eb2139b3dc3e1c5181a7cdf83a517c57c34bb12
sh: intc_prio_data() test before subtraction on unsigned

bit is unsigned, so test before subtraction

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/irq/intc.c