diff for duplicates of <20090528110902.GA27884@linux-sh.org> diff --git a/a/1.txt b/N1/1.txt index 76efc60..6e797e0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -83,7 +83,7 @@ index 80189f6..57b011a 100644 /*[Clocksource internal variables]--------- * curr_clocksource: @@ -362,6 +363,9 @@ static struct clocksource *select_clocksource(void) - if (next = curr_clocksource) + if (next == curr_clocksource) return NULL; + if (next->flags & CLOCK_SOURCE_USE_FOR_SCHED_CLOCK) @@ -97,14 +97,14 @@ index 80189f6..57b011a 100644 spin_lock_irqsave(&clocksource_lock, flags); + -+ if (sched_clocksource = cs) { ++ if (sched_clocksource == cs) { + printk(KERN_WARNING "Refusing to unregister " + "scheduler clocksource %s", cs->name); + goto out; + } + list_del(&cs->list); - if (clocksource_override = cs) + if (clocksource_override == cs) clocksource_override = NULL; next_clocksource = select_clocksource(); + diff --git a/a/content_digest b/N1/content_digest index a794d06..d905fc2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -10,7 +10,7 @@ "ref\01243503281.23657.80.camel@twins\0" "From\0Paul Mundt <lethal@linux-sh.org>\0" "Subject\0Re: [PATCH] sched: Support current clocksource handling in fallback sched_clock().\0" - "Date\0Thu, 28 May 2009 11:09:02 +0000\0" + "Date\0Thu, 28 May 2009 20:09:02 +0900\0" "To\0Peter Zijlstra <peterz@infradead.org>\0" "Cc\0Daniel Walker <dwalker@fifo99.com>" Thomas Gleixner <tglx@linutronix.de> @@ -110,7 +110,7 @@ " /*[Clocksource internal variables]---------\n" " * curr_clocksource:\n" "@@ -362,6 +363,9 @@ static struct clocksource *select_clocksource(void)\n" - " \tif (next = curr_clocksource)\n" + " \tif (next == curr_clocksource)\n" " \t\treturn NULL;\n" " \n" "+\tif (next->flags & CLOCK_SOURCE_USE_FOR_SCHED_CLOCK)\n" @@ -124,14 +124,14 @@ " \n" " \tspin_lock_irqsave(&clocksource_lock, flags);\n" "+\n" - "+\tif (sched_clocksource = cs) {\n" + "+\tif (sched_clocksource == cs) {\n" "+\t\tprintk(KERN_WARNING \"Refusing to unregister \"\n" "+\t\t \"scheduler clocksource %s\", cs->name);\n" "+\t\tgoto out;\n" "+\t}\n" "+\n" " \tlist_del(&cs->list);\n" - " \tif (clocksource_override = cs)\n" + " \tif (clocksource_override == cs)\n" " \t\tclocksource_override = NULL;\n" " \tnext_clocksource = select_clocksource();\n" "+\n" @@ -153,4 +153,4 @@ " \n" struct clocksource clocksource_jiffies = { -e0c292d00389351f51f2139e8585106c9aa909bddc8f77970e4e69eaf2cdaa08 +b5448fb51865601a01e67e40920b2a4d14e4299ba50527abaefb78500b68dfa3
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.