Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169012
b: refs/heads/master
c: 05bad36
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Mike Frysinger committed Nov 25, 2009
1 parent 3b25d9e commit ccb55b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46b60faf8c68a200bbccbe5bc6e51c414145b9af
refs/heads/master: 05bad36ce7a29e1e5eaf5f730ef004effed3add4
6 changes: 2 additions & 4 deletions trunk/arch/blackfin/mach-common/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,9 @@ void smp_send_reschedule(int cpu)
if (cpu_is_offline(cpu))
return;

msg = kmalloc(sizeof(*msg), GFP_ATOMIC);
msg = kzalloc(sizeof(*msg), GFP_ATOMIC);
if (!msg)
return;
memset(msg, 0, sizeof(msg));
INIT_LIST_HEAD(&msg->list);
msg->type = BFIN_IPI_RESCHEDULE;

Expand All @@ -305,10 +304,9 @@ void smp_send_stop(void)
if (cpus_empty(callmap))
return;

msg = kmalloc(sizeof(*msg), GFP_ATOMIC);
msg = kzalloc(sizeof(*msg), GFP_ATOMIC);
if (!msg)
return;
memset(msg, 0, sizeof(msg));
INIT_LIST_HEAD(&msg->list);
msg->type = BFIN_IPI_CPU_STOP;

Expand Down

0 comments on commit ccb55b6

Please sign in to comment.