2024-09-09 08:52:07 +00:00
|
|
|
#ifndef _ASM_DMI_H
|
|
|
|
#define _ASM_DMI_H 1
|
|
|
|
|
|
|
|
#include <linux/slab.h>
|
|
|
|
#include <asm/io.h>
|
|
|
|
|
|
|
|
/* Use normal IO mappings for DMI */
|
2024-09-09 08:57:42 +00:00
|
|
|
#define dmi_early_remap ioremap
|
|
|
|
#define dmi_early_unmap(x, l) iounmap(x)
|
|
|
|
#define dmi_remap ioremap
|
|
|
|
#define dmi_unmap iounmap
|
|
|
|
#define dmi_alloc(l) kzalloc(l, GFP_ATOMIC)
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
#endif
|