[PATCH 4/8] ftrace: check proper config for preempt type

Steven Rostedt
2008-07-11T01:01:24Z

[-- Attachment #1: ftrace-update-preempt-output.patch --]
[-- Type: text/plain, Size: 728 bytes --]

There is no CONFIG_PREEMPT_DESKTOP. Use the proper entry CONFIG_PREEMPT.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
kernel/trace/trace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-tip.git/kernel/trace/trace.c
===================================================================
--- linux-tip.git.orig/kernel/trace/trace.c 2008-07-03 17:30:24.000000000 -0400
+++ linux-tip.git/kernel/trace/trace.c 2008-07-08 10:35:09.000000000 -0400
@@ -1341,7 +1341,7 @@ print_trace_header(struct seq_file *m, s
"server",
#elif defined(CONFIG_PREEMPT_VOLUNTARY)
"desktop",
-#elif defined(CONFIG_PREEMPT_DESKTOP)
+#elif defined(CONFIG_PREEMPT)
"preempt",
#else
"unknown",

--