mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 23:26:41 +07:00
ab10596f8a
x86/ia64 have a slight mismatch in dmi_alloc as x86 does a memset(0), and ia64 just does kmalloc. Make the ia64 dmi_alloc match the x86 style. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
13 lines
239 B
C
13 lines
239 B
C
#ifndef _ASM_DMI_H
|
|
#define _ASM_DMI_H 1
|
|
|
|
#include <linux/slab.h>
|
|
#include <asm/io.h>
|
|
|
|
/* Use normal IO mappings for DMI */
|
|
#define dmi_ioremap ioremap
|
|
#define dmi_iounmap(x,l) iounmap(x)
|
|
#define dmi_alloc(l) kzalloc(l, GFP_ATOMIC)
|
|
|
|
#endif
|