Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded

Michal Piotrowski
2007-01-26T16:58:26Z

akpm@osdl.org napisał(a):
> The mm snapshot broken-out-2007-01-26-00-36.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-01-26-00-36.tar.gz
>

kernel/sched.c: In function 'init_sched_domain_sysctl':
kernel/sched.c:5465: error: too many arguments to function 'register_sysctl_table'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2

Possible fix

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/)

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>

--- linux-work-clean/kernel/sched.c 2007-01-26 16:47:55.000000000 +0100
+++ linux-work/kernel/sched.c 2007-01-26 17:51:23.000000000 +0100
@@ -5462,7 +5462,7 @@ static void init_sched_domain_sysctl(voi
entry->mode = 0755;
entry->child = sd_alloc_ctl_cpu_table(i);
}
- sd_sysctl_header = register_sysctl_table(sd_ctl_root, 0);
+ sd_sysctl_header = register_sysctl_table(sd_ctl_root);
}
#else
static void init_sched_domain_sysctl(void)