Blackfin: fix memset in smp_send_reschedule() and -stop()
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 21 Nov 2009 18:35:58 +0000 (19:35 +0100)
committerMike Frysinger <vapier@gentoo.org>
Wed, 25 Nov 2009 07:35:45 +0000 (02:35 -0500)
commit05bad36ce7a29e1e5eaf5f730ef004effed3add4
treec27c12b0e838d92c4d5b6350e96a320ceae6d28b
parent46b60faf8c68a200bbccbe5bc6e51c414145b9af
Blackfin: fix memset in smp_send_reschedule() and -stop()

To set zeroes the sizeof the struct should be used rather
than sizeof the pointer, kzalloc does that.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/smp.c