Hello all,
This fixes the save_flags/restore_flags reported earlier for
net/network.o . Please review.
Regards,
Frank
--- net/802/p8022.c.old Sun Aug 11 13:06:57 2002
+++ net/802/p8022.c Sun Aug 11 13:09:26 2002
@@ -107,8 +107,7 @@
struct datalink_proto *tmp, **clients = &p8022_list;
unsigned long flags;
- save_flags(flags);
- cli();
+ local_irq_save(flags);
while (*clients) {
tmp = *clients;
if (tmp->type[0] == type) {
@@ -119,7 +118,7 @@
}
clients = &tmp->next;
}
- restore_flags(flags);
+ local_irq_restore(flags);
}
EXPORT_SYMBOL(register_8022_client);