summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-02-10 01:17:32 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-02-10 01:17:32 -0500
commit516aef6f71b8e54adb955c7c23498ea96cc503cf (patch)
tree6b7854cc014f0c303e2a2371bb20884985179d24
parentcd59daabc02c02aa0740e61f9b23807a66d0e03f (diff)
downloadrt-patches-516aef6f71b8e54adb955c7c23498ea96cc503cf.tar.gz
refresh latencytop-Convert-latency_lock-to-raw_spinlock.patch
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r--latencytop-Convert-latency_lock-to-raw_spinlock.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/latencytop-Convert-latency_lock-to-raw_spinlock.patch b/latencytop-Convert-latency_lock-to-raw_spinlock.patch
index 4415ca0..f35f0f9 100644
--- a/latencytop-Convert-latency_lock-to-raw_spinlock.patch
+++ b/latencytop-Convert-latency_lock-to-raw_spinlock.patch
@@ -1,4 +1,4 @@
-From d8defb39290487080a8df2b32283b6b7cca1f8c2 Mon Sep 17 00:00:00 2001
+From 155e4c47bf163f60d3f0eaf34a465d9b3d7552aa Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 17 Sep 2009 17:31:09 +0200
Subject: [PATCH] latencytop: Convert latency_lock to raw_spinlock
@@ -11,11 +11,11 @@ be a real spinlock on RT. convert it to raw_spinlock.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
diff --git a/kernel/latencytop.c b/kernel/latencytop.c
-index ca07c5c..2b462ef 100644
+index 877fb30..3f89349 100644
--- a/kernel/latencytop.c
+++ b/kernel/latencytop.c
-@@ -59,7 +59,7 @@
- #include <linux/slab.h>
+@@ -58,7 +58,7 @@
+ #include <linux/list.h>
#include <linux/stacktrace.h>
-static DEFINE_SPINLOCK(latency_lock);
@@ -23,7 +23,7 @@ index ca07c5c..2b462ef 100644
#define MAXLR 128
static struct latency_record latency_record[MAXLR];
-@@ -73,19 +73,19 @@ void clear_all_latency_tracing(struct task_struct *p)
+@@ -72,19 +72,19 @@ void clear_all_latency_tracing(struct task_struct *p)
if (!latencytop_enabled)
return;
@@ -47,7 +47,7 @@ index ca07c5c..2b462ef 100644
}
static void __sched
-@@ -191,7 +191,7 @@ __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter)
+@@ -190,7 +190,7 @@ __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter)
lat.max = usecs;
store_stacktrace(tsk, &lat);
@@ -56,7 +56,7 @@ index ca07c5c..2b462ef 100644
account_global_scheduler_latency(tsk, &lat);
-@@ -233,7 +233,7 @@ __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter)
+@@ -232,7 +232,7 @@ __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter)
memcpy(&tsk->latency_record[i], &lat, sizeof(struct latency_record));
out_unlock: