[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 4 Dec 2008 16:42:13 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: linux-next@...r.kernel.org, jens.axboe@...cle.com,
akpm <akpm@...ux-foundation.org>
Subject: [PATCH -next] sysctl: handle bio system when CONFIG_BLOCK=n
From: Randy Dunlap <randy.dunlap@...cle.com>
Handle build config of CONFIG_BLOCK=n:
kernel/sysctl.c:1233: error: 'bio_inline_vecs' undeclared here (not in a function)
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
kernel/sysctl.c | 2 ++
1 file changed, 2 insertions(+)
--- linux-next-20081204.orig/kernel/sysctl.c
+++ linux-next-20081204/kernel/sysctl.c
@@ -1227,6 +1227,7 @@ static struct ctl_table vm_table[] = {
.extra2 = &one,
},
#endif
+#ifdef CONFIG_BLOCK
{
.ctl_name = CTL_UNNUMBERED,
.procname = "bio_inline_vecs",
@@ -1237,6 +1238,7 @@ static struct ctl_table vm_table[] = {
.strategy = &sysctl_intvec,
.extra1 = &zero,
},
+#endif
/*
* NOTE: do not add new entries to this table unless you have read
* Documentation/sysctl/ctl_unnumbered.txt
--
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