[PATCH] [18/58] x86_64: remove extra extern declaring about dmi_ioremap

From: Andi Kleen
Date: Thu Jul 19 2007 - 06:04:43 EST



From: "Yinghai Lu" <yhlu.kernel@xxxxxxxxx>

Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx>
Signed-off-by: Andi Kleen <ak@xxxxxxx>

---
include/asm-x86_64/dmi.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

Index: linux/include/asm-x86_64/dmi.h
===================================================================
--- linux.orig/include/asm-x86_64/dmi.h
+++ linux/include/asm-x86_64/dmi.h
@@ -3,15 +3,12 @@

#include <asm/io.h>

-extern void *dmi_ioremap(unsigned long addr, unsigned long size);
-extern void dmi_iounmap(void *addr, unsigned long size);
-
#define DMI_MAX_DATA 2048

extern int dmi_alloc_index;
extern char dmi_alloc_data[DMI_MAX_DATA];

-/* This is so early that there is no good way to allocate dynamic memory.
+/* This is so early that there is no good way to allocate dynamic memory.
Allocate data in an BSS array. */
static inline void *dmi_alloc(unsigned len)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/