summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis@issaris.org>2005-11-09 02:08:42 +0100
committerTony Luck <tony.luck@intel.com>2005-11-10 11:28:20 -0800
commitbaf47fb66020e5c3fe2386680fa2d79d1f8e0052 (patch)
treec7d287445373cbdecf22609aa97bd153a6633b36 /arch/ia64/kernel
parent16e85d1a3182009ff81d71aaf65a2808bd395a6b (diff)
downloadop-kernel-dev-baf47fb66020e5c3fe2386680fa2d79d1f8e0052.zip
op-kernel-dev-baf47fb66020e5c3fe2386680fa2d79d1f8e0052.tar.gz
[IA64] Replace kcalloc(1, with kzalloc.
Conversion from kcalloc(1, to kzalloc. Signed-off-by: Panagiotis Issaris <takis@issaris.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r--arch/ia64/kernel/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c
index f72ea6a..a3aa45c 100644
--- a/arch/ia64/kernel/efi.c
+++ b/arch/ia64/kernel/efi.c
@@ -987,7 +987,7 @@ efi_initialize_iomem_resources(struct resource *code_resource,
break;
}
- if ((res = kcalloc(1, sizeof(struct resource), GFP_KERNEL)) == NULL) {
+ if ((res = kzalloc(sizeof(struct resource), GFP_KERNEL)) == NULL) {
printk(KERN_ERR "failed to alocate resource for iomem\n");
return;
}
OpenPOWER on IntegriCloud