Skip to content

Commit

Permalink
x86_64: remove extra extern declaring about dmi_ioremap
Browse files Browse the repository at this point in the history
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Yinghai Lu authored and Linus Torvalds committed Jul 22, 2007
1 parent 67cddd9 commit af3e9a2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/asm-x86_64/dmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit af3e9a2

Please sign in to comment.