diff options
author | Joe Perches <joe@perches.com> | 2013-07-09 13:13:03 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-08-19 13:24:01 -0400 |
commit | ab10596f8a45cf19f5482af2a64f4bd4e5bf88c0 (patch) | |
tree | d2090c4c99510a466b7f076049988d112719d76e /arch/ia64 | |
parent | b36f4be3de1b123d8601de062e7dbfc904f305fb (diff) |
[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>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/dmi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/dmi.h b/arch/ia64/include/asm/dmi.h index 1ed4c8fedb83..185d3d18d0ec 100644 --- a/arch/ia64/include/asm/dmi.h +++ b/arch/ia64/include/asm/dmi.h | |||
@@ -7,6 +7,6 @@ | |||
7 | /* Use normal IO mappings for DMI */ | 7 | /* Use normal IO mappings for DMI */ |
8 | #define dmi_ioremap ioremap | 8 | #define dmi_ioremap ioremap |
9 | #define dmi_iounmap(x,l) iounmap(x) | 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 | #endif | 12 | #endif |