[PATCH] extern in sleep.c

Maciej Soltysiak (solt@dns.toxicfilms.tv)
Mon, 24 Feb 2003 19:22:28 +0100 (CET)


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/