lkml.org 
[lkml]   [2010]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/4] cpu_stop: implement stop_cpu[s]()
FromPeter Zijlstra <>
DateMon, 03 May 2010 15:26:29 +0200
On Thu, 2010-04-22 at 18:09 +0200, Tejun Heo wrote:
> +void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void
> *arg,
> + struct cpu_stop_work *work_buf)
> +{
> + memset(work_buf, 0, sizeof(*work_buf));
> + work_buf->fn = fn;
> + work_buf->arg = arg;

*work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, };



\
 
 \ /
  Last update: 2010-05-03 15:29    [from the cache]
©2003-2010