Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Joe Perches and committed by
Tony Luck
ab10596f b36f4be3

+1 -1
+1 -1
arch/ia64/include/asm/dmi.h
··· 7 7 /* Use normal IO mappings for DMI */ 8 8 #define dmi_ioremap ioremap 9 9 #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) 11 11 12 12 #endif