[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <878wg41f65.fsf@caffeine.danplanet.com>
Date: Thu, 24 Sep 2009 09:27:30 -0700
From: Dan Smith <danms@...ibm.com>
To: Rishikesh <risrajak@...ux.vnet.ibm.com>
Cc: Oren Laadan <orenl@...rato.com>, linux-mm@...ck.org,
linux-api@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
containers@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/80] Kernel based checkpoint/restart [v18]
R> I am getting following build error while compiling linux-cr kernel.
With CONFIG_CHECKPOINT=n, right?
R> 76569 net/unix/af_unix.c:528: error: ‘unix_collect’ undeclared here (not
R> in a function)
Try the patch below.
--
Dan Smith
IBM Linux Technology Center
email: danms@...ibm.com
diff --git a/include/net/af_unix.h b/include/net/af_unix.h
index e42a714..ee423d1 100644
--- a/include/net/af_unix.h
+++ b/include/net/af_unix.h
@@ -80,6 +80,7 @@ extern int unix_collect(struct ckpt_ctx *ctx, struct socket *sock);
#else
#define unix_checkpoint NULL
#define unix_restore NULL
+#define unix_collect NULL
#endif /* CONFIG_CHECKPOINT */
#endif
--
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