watchdog: Simplify a little the IPI call
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 24 Feb 2014 15:40:00 +0000 (16:40 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 24 Feb 2014 22:47:05 +0000 (14:47 -0800)
commite0a23b0628b10d25f2c178be6fcfc17c1ab49fda
treec412e03c0265362a0538e5db54f1641e2071dac1
parentd7877c03f1b62de06f9c00417952f39f56c1ab00
watchdog: Simplify a little the IPI call

In order to remotely restart the watchdog hrtimer, update_timers()
allocates a csd on the stack and pass it to __smp_call_function_single().

There is no partcular need, however, for a specific csd here. Lets
simplify that a little by calling smp_call_function_single()
which can already take care of the csd allocation by itself.

Acked-by: Don Zickus <dzickus@redhat.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@fb.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
kernel/watchdog.c