projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af92723
)
sched: run sched_domain_debug() if CONFIG_SCHED_DEBUG=y
author
Ingo Molnar
<mingo@elte.hu>
Mon, 15 Oct 2007 15:00:13 +0000
(17:00 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 15 Oct 2007 15:00:13 +0000
(17:00 +0200)
run sched_domain_debug() if CONFIG_SCHED_DEBUG=y, instead
of relying on the hand-crafted SCHED_DOMAIN_DEBUG switch.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index f370f108ed04be2dfaeb8c6f96eb5d634d116aa8..1a80ac1b6dabdea24b3b2b9e560dda72d4ca53a6 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-5476,8
+5476,7
@@
int __init migration_init(void)
int nr_cpu_ids __read_mostly = NR_CPUS;
EXPORT_SYMBOL(nr_cpu_ids);
-#undef SCHED_DOMAIN_DEBUG
-#ifdef SCHED_DOMAIN_DEBUG
+#ifdef CONFIG_SCHED_DEBUG
static void sched_domain_debug(struct sched_domain *sd, int cpu)
{
int level = 0;