[PATCH] extern in sleep.c

From: Maciej Soltysiak (solt@dns.toxicfilms.tv)
Date: Mon Feb 24 2003 - 13:22:28 EST


Hi,

there's a following warning in 2.5.62-bk7:

arch/i386/kernel/acpi/sleep.c: In function `acpi_restore_state_mem':
arch/i386/kernel/acpi/sleep.c:62: warning: implicit declaration of
function `zap_low_mappings'

Here's an extern to cover it:

--- linux-2.5.60/arch/i386/kernel/acpi/sleep.c~ 2003-02-18 17:48:18.000000000 +0100
+++ linux-2.5.60/arch/i386/kernel/acpi/sleep.c 2003-02-24 19:13:20.000000000 +0100
@@ -8,6 +8,7 @@
 #include <linux/bootmem.h>
 #include <asm/smp.h>

+extern void zap_low_mappings (void);

 /* address in low memory of the wakeup routine. */
 unsigned long acpi_wakeup_address = 0;
-
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/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:21 EST