Re: [PATCH 3/3] eventfd: add internal reference counting to fix notifier race conditions

Davide Libenzi
2009-06-25T00:24:50Z

On Tue, 23 Jun 2009, Davide Libenzi wrote:

> On Tue, 23 Jun 2009, Rusty Russell wrote:
>
> > The first 'struct eventfd_ctx;' line is not required.
>
> Will repost dropping that.

Almost forgot. While fixing lg.h to drop the fwd declaration, I noticed
there's another one ;)

- Davide

--- a/drivers/lguest/lg.h 2009-06-15 15:35:24.000000000 -0700
+++ b/drivers/lguest/lg.h 2009-06-24 17:08:26.000000000 -0700
@@ -38,8 +38,6 @@
#define CHANGED_GDT_TLS 4 /* Actually a subset of CHANGED_GDT */
#define CHANGED_ALL 3

-struct lguest;
-
struct lg_cpu {
unsigned int id;
struct lguest *lg;