aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/4xx_io
diff options
context:
space:
mode:
authorEric Sesterhenn <snakebyte@gmx.de>2006-03-06 21:13:32 +0100
committerPaul Mackerras <paulus@samba.org>2006-03-17 13:20:57 +1100
commitd116fe5aeafd8226712d2de9c69428725ca74474 (patch)
tree5c65b1b18d495ac9d16e875a7a4f99863ffe0edb /arch/ppc/4xx_io
parent0f6be7b77ceaea01a35b37fab26f4ea3b01efe14 (diff)
downloadkernel_samsung_smdk4412-d116fe5aeafd8226712d2de9c69428725ca74474.zip
kernel_samsung_smdk4412-d116fe5aeafd8226712d2de9c69428725ca74474.tar.gz
kernel_samsung_smdk4412-d116fe5aeafd8226712d2de9c69428725ca74474.tar.bz2
[PATCH] kzalloc() conversion in arch/ppc
This converts arch/ppc to kzalloc usage. Crosscompile tested with allyesconfig. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/4xx_io')
-rw-r--r--arch/ppc/4xx_io/serial_sicc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ppc/4xx_io/serial_sicc.c b/arch/ppc/4xx_io/serial_sicc.c
index 4dc6aa2..98b25fa 100644
--- a/arch/ppc/4xx_io/serial_sicc.c
+++ b/arch/ppc/4xx_io/serial_sicc.c
@@ -1637,9 +1637,8 @@ static struct SICC_info *siccuart_get(int line)
state->count++;
if (state->info)
return state->info;
- info = kmalloc(sizeof(struct SICC_info), GFP_KERNEL);
+ info = kzalloc(sizeof(struct SICC_info), GFP_KERNEL);
if (info) {
- memset(info, 0, sizeof(struct SICC_info));
init_waitqueue_head(&info->open_wait);
init_waitqueue_head(&info->close_wait);
init_waitqueue_head(&info->delta_msr_wait);