mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
f2d3efedbe
There are more and more cases where we need to know DMI information early to work around bugs. i386 already had early DMI scanning, but x86-64 didn't. Implement this now. This required some cleanup in the i386 code. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
12 lines
231 B
C
12 lines
231 B
C
#ifndef _ASM_DMI_H
|
|
#define _ASM_DMI_H 1
|
|
|
|
#include <asm/io.h>
|
|
|
|
/* Use early IO mappings for DMI because it's initialized early */
|
|
#define dmi_ioremap bt_ioremap
|
|
#define dmi_iounmap bt_iounmap
|
|
#define dmi_alloc alloc_bootmem
|
|
|
|
#endif
|