Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 11 Aug 2002 13:24:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 11 Aug 2002 13:24:14 -0400 Received: from nycsmtp2fb.rdc-nyc.rr.com ([24.29.99.78]:1285 "EHLO si.rr.com") by vger.kernel.org with ESMTP id ; Sun, 11 Aug 2002 13:24:13 -0400 Date: Sun, 11 Aug 2002 13:14:06 -0400 (EDT) From: Frank Davis X-X-Sender: fdavis@localhost.localdomain To: linux-kernel@vger.kernel.org cc: fdavis@si.rr.com Subject: [PATCH] 2.5.31 : net/802/p8022.c Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 839 Lines: 35 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/