[PATCH -rt 6/8] preempt_max_latency in all modes

Daniel Walker
2007-08-28T21:39:36Z

[-- Attachment #1: add-preempt-max-latency-for-all-timing-modes.patch --]
[-- Type: text/plain, Size: 761 bytes --]

This enables the /proc/preempt_max_latency facility for timing modes,
even if event tracing is disabled. Wakeup latency was the only one
that had this feature in the past.

Signed-off-by: Daniel Walker <dwalker@mvista.com>

---
kernel/sysctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.22/kernel/sysctl.c
===================================================================
--- linux-2.6.22.orig/kernel/sysctl.c
+++ linux-2.6.22/kernel/sysctl.c
@@ -392,7 +392,7 @@ static ctl_table kern_table[] = {
.proc_handler = &proc_dointvec,
},
#endif
-#if defined(CONFIG_WAKEUP_TIMING) || defined(CONFIG_EVENT_TRACE)
+#if defined(CONFIG_CRITICAL_TIMING)
{
.ctl_name = CTL_UNNUMBERED,
.procname = "preempt_max_latency",

--