From: johann d. <jd...@us...> - 2002-01-23 23:35:34
|
Update of /cvsroot/linuxconsole/ruby/linux/kernel In directory usw-pr-cvs1:/tmp/cvs-serv3397 Modified Files: printk.c Log Message: kdev_t objects must be compared using kdev_same(). Index: printk.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/kernel/printk.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- printk.c 2001/12/26 20:29:23 1.24 +++ printk.c 2002/01/23 23:35:31 1.25 @@ -475,7 +475,7 @@ spin_lock(&console_lock); /* Look for new messages */ for (con = console_drivers; con; con = con->next) { - if (con->device(con) == device) + if (kdev_same(con->device(con),device)) break; } spin_unlock(&console_lock); @@ -518,7 +518,7 @@ else { spin_lock(&console_lock); for (con = console_drivers; con; con = con->next) { - if (con->device(con) == device) + if (kdev_same(con->device(con), device)) break; } spin_unlock(&console_lock); |