zOn Fri, 2005-08-05 at 12:59 +0200, Ingo Molnar wrote:
> ok, looks good - i've applied it and released the -52-14 PREEMPT_RT
> patch.
>
Does not compile if RCU stats are enabled but torture test disabled.
Lee
--- linux-2.6.13-rc4/fs/proc/proc_misc.c.orig 2005-08-06 22:59:46.000000000 -0400
+++ linux-2.6.13-rc4/fs/proc/proc_misc.c 2005-08-06 23:04:42.000000000 -0400
@@ -654,6 +654,7 @@
return proc_calc_metrics(page, start, off, count, eof, len);
}
+#ifdef CONFIG_RCU_TORTURE_TEST
int rcu_read_proc_torture_writer(char *page, char **start, off_t off,
int count, int *eof, void *data)
{
@@ -683,6 +684,7 @@
len = rcu_read_proc_torture_stats_data(page);
return proc_calc_metrics(page, start, off, count, eof, len);
}
+#endif /* #ifdef CONFIG_RCU_TORTURE_TEST */
#endif /* #ifdef CONFIG_RCU_STATS */
void __init proc_misc_init(void)
@@ -712,9 +714,11 @@
{"rcugp", rcu_read_proc_gp},
{"rcuptrs", rcu_read_proc_ptrs},
{"rcuctrs", rcu_read_proc_ctrs},
+#ifdef CONFIG_RCU_TORTURE_TEST
{"rcutw", rcu_read_proc_torture_writer},
{"rcutr", rcu_read_proc_torture_reader},
{"rcuts", rcu_read_proc_torture_stats},
+#endif /* #ifdef CONFIG_RCU_TORTURE_TEST */
#endif /* #ifdef CONFIG_RCU_STATS */
{NULL,}
};
Lee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|