Skip to content

Commit ab10596

Browse files
JoePerchesaegl
authored andcommitted
[IA64] dmi.h: Make dmi_alloc use kzalloc
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>
1 parent b36f4be commit ab10596

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • arch/ia64/include/asm

‎arch/ia64/include/asm/dmi.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
/* Use normal IO mappings for DMI */
88
#define dmi_ioremap ioremap
99
#define dmi_iounmap(x,l) iounmap(x)
10-
#define dmi_alloc(l) kmalloc(l, GFP_ATOMIC)
10+
#define dmi_alloc(l) kzalloc(l, GFP_ATOMIC)
1111

1212
#endif

0 commit comments

Comments
 (0)