From: Kenn H. <ke...@us...> - 2005-03-28 16:27:02
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers/vax/char In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24936/drivers/vax/char Modified Files: dz.c Log Message: save_flags(), cli() and restore_flags are deprecated Index: dz.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/vax/char/dz.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- dz.c 22 Mar 2005 09:20:12 -0000 1.2 +++ dz.c 28 Mar 2005 16:26:54 -0000 1.3 @@ -1312,7 +1312,7 @@ /* FIXME: check this for NULL */ base_addr = (unsigned long) ioremap(vsbus_dev->phys_base, 16); - save_flags(flags); cli(); + local_irq_save(flags); for (i=0; i < DZ_NB_PORT; i++) { info = &multi[i]; lines[i] = info; @@ -1393,7 +1393,7 @@ * Order matters here... the trick is that flags is updated... in * request_irq - to immediatedly obliterate it is unwise. */ - restore_flags(flags); + local_irq_restore(flags); /* The bus-specific IRQ we are handed in the vsbus_dev * structure is the TX interrupt. The RX is always the |