Hello all,
This fixes the net/network.o save_flags/restore_flags error. Please
review.
Regards,
Frank
--- net/802/psnap.c.old Sun Aug 11 13:06:19 2002
struct datalink_proto *tmp;
unsigned long flags;
- save_flags(flags);
- cli();
+ local_irq_save(flags);
while ((tmp = *clients) != NULL) {
clients = &tmp->next;
}
- restore_flags(flags);
+ local_irq_restore(flags);
}
MODULE_LICENSE("GPL");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/