[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4561D40C.7040306@s5r6.in-berlin.de>
Date: Mon, 20 Nov 2006 17:13:00 +0100
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: David Howells <dhowells@...hat.com>
CC: torvalds@...l.org, akpm@...l.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] WorkStruct: Typedef the work function prototype
David Howells wrote:
> Stefan Richter <stefanr@...6.in-berlin.de> wrote:
>> If so, it should certainly also be used in the declarations and
>> definitions of the work functions.
>
> Is this what you mean?:
>
> work_func_t do_my_work
> {
> ...
> }
That's what I meant. (But now that you wrote it out I'm not so certain
about doing this anymore.)
> DECLARE_WORK(my_work, do_my_work);
>
> void do_it(void)
> {
> schedule_work(&my_work);
> }
--
Stefan Richter
-=====-=-==- =-== =-=--
http://arcgraph.de/sr/
-
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