[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BDFC079.6000601@kernel.org>
Date: Tue, 04 May 2010 08:36:41 +0200
From: Tejun Heo <tj@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>
CC: mingo@...e.hu, linux-kernel@...r.kernel.org, x86@...nel.org,
oleg@...hat.com, rusty@...tcorp.com.au, sivanich@....com,
heiko.carstens@...ibm.com, dipankar@...ibm.com,
josh@...edesktop.org, paulmck@...ux.vnet.ibm.com,
akpm@...ux-foundation.org, arjan@...ux.intel.com,
torvalds@...ux-foundation.org
Subject: Re: [PATCH 1/4] cpu_stop: implement stop_cpu[s]()
On 05/03/2010 03:26 PM, Peter Zijlstra wrote:
> 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, };
>
Updated.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists