lkml.org 
[lkml]   [2005]   [Aug]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01]
FromLee Revell <>
DateSat, 06 Aug 2005 23:05:35 -0400
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-07 05:13    [from the cache]
©2003-2008