From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gateway-1237.mvista.com ([63.81.120.158]:64979 "EHLO localhost.localdomain" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753343AbXH1ViM (ORCPT ); Tue, 28 Aug 2007 17:38:12 -0400 Message-Id: <20070828213801.391940192@mvista.com> References: <20070828213748.790253419@mvista.com> Date: Tue, 28 Aug 2007 14:37:54 -0700 From: Daniel Walker Content-Disposition: inline; filename=add-preempt-max-latency-for-all-timing-modes.patch Subject: [PATCH -rt 6/8] preempt_max_latency in all modes Sender: linux-rt-users-owner@vger.kernel.org To: mingo@elte.hu Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org List-ID: 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 --- 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", --