* [2.6.21 patch] fix the SYSCTL=n compilation
@ 2007-02-20 0:08 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-02-20 0:08 UTC (permalink / raw)
To: Eric W. Biederman; +Cc: linux-kernel
This patch fixes the following compile error with CONFIG_SYSCTL=n:
<-- snip -->
...
CC kernel/sysctl.o
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/kernel/sysctl.c:1411: error: conflicting types for 'register_sysctl_table'
/home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/include/linux/sysctl.h:1042: error: previous declaration of 'register_sysctl_table' was here
make[2]: *** [kernel/sysctl.o] Error 1
<-- snip -->
Caused by commit 0b4d414714f0d2f922d39424b0c5c82ad900a381.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
--- linux-2.6.20-mm2/kernel/sysctl.c.old 2007-02-19 17:52:28.000000000 +0100
+++ linux-2.6.20-mm2/kernel/sysctl.c 2007-02-19 17:53:22.000000000 +0100
@@ -1406,8 +1406,7 @@
}
#else /* !CONFIG_SYSCTL */
-struct ctl_table_header * register_sysctl_table(ctl_table * table,
- int insert_at_head)
+struct ctl_table_header *register_sysctl_table(ctl_table * table)
{
return NULL;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-20 0:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 0:08 [2.6.21 patch] fix the SYSCTL=n compilation Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome