* [PATCH 3.0.4-rt13] Fix build on UP ARM core
@ 2011-09-11 9:12 Remy Bohmer
0 siblings, 0 replies; only message in thread
From: Remy Bohmer @ 2011-09-11 9:12 UTC (permalink / raw)
To: Thomas Gleixner, linux-rt-users; +Cc: Remy Bohmer
It fixes this error:
In file included from kernel/sched.c:2041:0:
kernel/sched_debug.c: In function 'print_rt_rq':
kernel/sched_debug.c:238:83: error: 'struct rt_rq' has no member named 'rt_nr_migratory'
kernel/sched_debug.c:238:171: error: 'struct rt_rq' has no member named 'rt_nr_migratory'
make[2]: *** [kernel/sched.o] Error 1
Signed-off-by: Remy Bohmer <linux@bohmer.net>
---
kernel/sched_debug.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index e68cf7f..528032b 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -235,7 +235,9 @@ void print_rt_rq(struct seq_file *m, int cpu, struct rt_rq *rt_rq)
P(rt_throttled);
PN(rt_time);
PN(rt_runtime);
+#ifdef CONFIG_SMP
P(rt_nr_migratory);
+#endif
#undef PN
#undef P
--
1.7.4.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-11 9:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-11 9:12 [PATCH 3.0.4-rt13] Fix build on UP ARM core Remy Bohmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).