From: Matthew Wilcox Subject: Re: ACPI: compilation fixes Date: Thu, 1 Aug 2002 14:43:12 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <33655.8996736587$1028209666@news.gmane.org> References: <20020801104053.GA137@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20020801104053.GA137-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>; from pavel-+ZI9xUNit7I@public.gmane.org on Thu, Aug 01, 2002 at 12:40:53PM +0200 Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Pavel Machek Cc: Andrew Grover , ACPI mailing list , kernel list List-Id: linux-acpi@vger.kernel.org On Thu, Aug 01, 2002 at 12:40:53PM +0200, Pavel Machek wrote: > - save_flags(flags); > + local_irq_save(flags); > + local_irq_disable(); umm. local_irq_save disables interrupts: #define local_irq_save(x) __asm__ __volatile__("pushfl ; popl %0 ; cli":"= g" (x): /* no input */ :"memory") i think you're confused with local_save_flags. -- Revolutions do not require corporate support. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf