lkml.org 
[lkml]   [2005]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch 1/3] fix defined but unused warning
From
Date

Fix "defined but unused" warning in kernel/sched.c.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
---

linux-2.6.11-paolo/kernel/sched.c | 2 ++
1 files changed, 2 insertions(+)

diff -puN kernel/sched.c~fix-def-notused-warn kernel/sched.c
--- linux-2.6.11/kernel/sched.c~fix-def-notused-warn 2005-03-27 22:14:49.000000000 +0200
+++ linux-2.6.11-paolo/kernel/sched.c 2005-03-27 22:15:00.000000000 +0200
@@ -314,7 +314,9 @@ static inline void task_rq_unlock(runque
static int show_schedstat(struct seq_file *seq, void *v)
{
int cpu;
+#ifdef CONFIG_SMP
enum idle_type itype;
+#endif

seq_printf(seq, "version %d\n", SCHEDSTAT_VERSION);
seq_printf(seq, "timestamp %lu\n", jiffies);
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.038 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site