* [patch 1/3] fix defined but unused warning
@ 2005-03-30 17:32 blaisorblade
0 siblings, 0 replies; only message in thread
From: blaisorblade @ 2005-03-30 17:32 UTC (permalink / raw)
To: torvalds; +Cc: akpm, linux-kernel, blaisorblade
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);
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-30 18:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-30 17:32 [patch 1/3] fix defined but unused warning blaisorblade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®