* [2.6 patch] kernel/rtmutex-debug.c: cleanups
@ 2007-07-01 20:19 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-07-01 20:19 UTC (permalink / raw)
To: Andrew Morton; +Cc: Ingo Molnar, linux-kernel
This patch contains the following cleanups:
- make the needlessly global variable rt_trace_on static
- remove the unused global function deadlock_trace_off()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch has been sent on:
- 4 Apr 2007
--- linux-2.6.21-rc5-mm3/kernel/rtmutex-debug.c.old 2007-04-03 01:29:12.000000000 +0200
+++ linux-2.6.21-rc5-mm3/kernel/rtmutex-debug.c 2007-04-03 01:29:59.000000000 +0200
@@ -88,12 +88,7 @@
* into the tracing code when doing error printk or
* executing a BUG():
*/
-int rt_trace_on = 1;
-
-void deadlock_trace_off(void)
-{
- rt_trace_on = 0;
-}
+static int rt_trace_on = 1;
static void printk_task(struct task_struct *p)
{
^ permalink raw reply [flat|nested] 3+ messages in thread* [2.6 patch] kernel/rtmutex-debug.c: cleanups
@ 2007-07-29 14:57 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-07-29 14:57 UTC (permalink / raw)
To: Andrew Morton; +Cc: Ingo Molnar, linux-kernel
This patch contains the following cleanups:
- make the needlessly global variable rt_trace_on static
- remove the unused global function deadlock_trace_off()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch has been sent on:
- 1 Jul 2007
- 4 Apr 2007
--- linux-2.6.21-rc5-mm3/kernel/rtmutex-debug.c.old 2007-04-03 01:29:12.000000000 +0200
+++ linux-2.6.21-rc5-mm3/kernel/rtmutex-debug.c 2007-04-03 01:29:59.000000000 +0200
@@ -88,12 +88,7 @@
* into the tracing code when doing error printk or
* executing a BUG():
*/
-int rt_trace_on = 1;
-
-void deadlock_trace_off(void)
-{
- rt_trace_on = 0;
-}
+static int rt_trace_on = 1;
static void printk_task(struct task_struct *p)
{
^ permalink raw reply [flat|nested] 3+ messages in thread* [2.6 patch] kernel/rtmutex-debug.c: cleanups
@ 2007-04-04 15:25 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-04-04 15:25 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
This patch contains the following cleanups:
- make the needlessly global variable rt_trace_on static
- remove the unused global function deadlock_trace_off()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.21-rc5-mm3/kernel/rtmutex-debug.c.old 2007-04-03 01:29:12.000000000 +0200
+++ linux-2.6.21-rc5-mm3/kernel/rtmutex-debug.c 2007-04-03 01:29:59.000000000 +0200
@@ -88,12 +88,7 @@
* into the tracing code when doing error printk or
* executing a BUG():
*/
-int rt_trace_on = 1;
-
-void deadlock_trace_off(void)
-{
- rt_trace_on = 0;
-}
+static int rt_trace_on = 1;
static void printk_task(struct task_struct *p)
{
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-29 15:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-01 20:19 [2.6 patch] kernel/rtmutex-debug.c: cleanups Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2007-07-29 14:57 Adrian Bunk
2007-04-04 15:25 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox