powerpc: Make open count variables signed in hvcs/hvsi/hvc_console

Otherwise the tests for count < 0 will never be true.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
roel kluin
2008-12-02 11:21:43 +00:00
committed by Paul Mackerras
parent dc42149fcc
commit 3d26825ec0
3 changed files with 3 additions and 3 deletions

View File

@@ -269,7 +269,7 @@ struct hvcs_struct {
unsigned int index;
struct tty_struct *tty;
unsigned int open_count;
int open_count;
/*
* Used to tell the driver kernel_thread what operations need to take