diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2005-09-06 15:18:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 16:57:45 -0700 |
commit | f96cb1f0580324b95b7219466312a376a59a796f (patch) | |
tree | 3e171fbb5b43628d416e2a4c271e8e5ce3cb26f2 /arch/ia64/sn/kernel/io_init.c | |
parent | dd3927105b6f65afb7dac17682172cdfb86d3f00 (diff) | |
download | op-kernel-dev-f96cb1f0580324b95b7219466312a376a59a796f.zip op-kernel-dev-f96cb1f0580324b95b7219466312a376a59a796f.tar.gz |
[PATCH] IA64: convert kcalloc to kzalloc
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ia64/sn/kernel/io_init.c')
-rw-r--r-- | arch/ia64/sn/kernel/io_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/kernel/io_init.c b/arch/ia64/sn/kernel/io_init.c index 4564ed0..906622d 100644 --- a/arch/ia64/sn/kernel/io_init.c +++ b/arch/ia64/sn/kernel/io_init.c @@ -431,7 +431,7 @@ void sn_bus_store_sysdata(struct pci_dev *dev) { struct sysdata_el *element; - element = kcalloc(1, sizeof(struct sysdata_el), GFP_KERNEL); + element = kzalloc(sizeof(struct sysdata_el), GFP_KERNEL); if (!element) { dev_dbg(dev, "%s: out of memory!\n", __FUNCTION__); return; |