Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 6 Oct 2001 08:55:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 6 Oct 2001 08:55:39 -0400 Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:30478 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Sat, 6 Oct 2001 08:55:31 -0400 Subject: Re: Question about rtc_lock To: jdthood@mail.com (Thomas Hood) Date: Sat, 6 Oct 2001 14:01:20 +0100 (BST) Cc: linux-kernel@vger.kernel.org In-Reply-To: <1002340196.813.64.camel@thanatos> from "Thomas Hood" at Oct 05, 2001 11:49:54 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > spin_lock(&rtc_lock); > CMOS_WRITE(v, sbf_port); > spin_unlock(&rtc_lock); > > Does this code run with irqs disabled, or should these > spinlocks be _irq ? The CMOS isnt accessed from IRQ handlers - 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/