From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: ACPI: compilation fixes Date: Thu, 1 Aug 2002 12:40:53 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20020801104053.GA137@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Andrew Grover , ACPI mailing list , kernel list List-Id: linux-acpi@vger.kernel.org Hi! 2.5.29 will not compile for me without these, please apply. Pavel --- clean/drivers/acpi/system.c Mon Jul 29 20:02:23 2002 +++ linux-swsusp/drivers/acpi/system.c Mon Jul 29 20:14:27 2002 @@ -256,7 +256,8 @@ acpi_status status = AE_ERROR; unsigned long flags = 0; - save_flags(flags); + local_irq_save(flags); + local_irq_disable(); switch (state) { @@ -270,7 +271,7 @@ do_suspend_lowlevel(0); break; } - restore_flags(flags); + local_irq_restore(flags); return status; } -- Worst form of spam? Adding advertisment signatures ala sourceforge.net. What goes next? Inserting advertisment *into* email? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf