All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20090528124207.GA28830@linux-sh.org>

diff --git a/a/1.txt b/N1/1.txt
index 5309d10..57e4bcc 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -5,7 +5,7 @@ On Thu, May 28, 2009 at 02:22:17PM +0200, Thomas Gleixner wrote:
 > >  
 > >  	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);
 > 
@@ -82,7 +82,7 @@ index 80189f6..19c72d0 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)
@@ -93,7 +93,7 @@ index 80189f6..19c72d0 100644
  
 @@ -440,7 +444,17 @@ void clocksource_unregister(struct clocksource *cs)
  	list_del(&cs->list);
- 	if (clocksource_override = cs)
+ 	if (clocksource_override == cs)
  		clocksource_override = NULL;
 +
  	next_clocksource = select_clocksource();
@@ -103,7 +103,7 @@ index 80189f6..19c72d0 100644
 +	 * clocksource for sched_clocksource and we are unregistering
 +	 * it, switch back to jiffies.
 +	 */
-+	if (sched_clocksource = cs)
++	if (sched_clocksource == cs)
 +		sched_clocksource = &clocksource_jiffies;
 +
  	spin_unlock_irqrestore(&clocksource_lock, flags);
diff --git a/a/content_digest b/N1/content_digest
index bf52176..375c4c6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -10,7 +10,7 @@
  "ref\0alpine.LFD.2.00.0905281417500.3397@localhost.localdomain\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 12:42:07 +0000\0"
+ "Date\0Thu, 28 May 2009 21:42:07 +0900\0"
  "To\0Thomas Gleixner <tglx@linutronix.de>\0"
  "Cc\0Peter Zijlstra <peterz@infradead.org>"
   Daniel Walker <dwalker@fifo99.com>
@@ -32,7 +32,7 @@
  "> >  \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"
  "> \n"
@@ -109,7 +109,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"
@@ -120,7 +120,7 @@
  " \n"
  "@@ -440,7 +444,17 @@ void clocksource_unregister(struct clocksource *cs)\n"
  " \tlist_del(&cs->list);\n"
- " \tif (clocksource_override = cs)\n"
+ " \tif (clocksource_override == cs)\n"
  " \t\tclocksource_override = NULL;\n"
  "+\n"
  " \tnext_clocksource = select_clocksource();\n"
@@ -130,7 +130,7 @@
  "+\t * clocksource for sched_clocksource and we are unregistering\n"
  "+\t * it, switch back to jiffies.\n"
  "+\t */\n"
- "+\tif (sched_clocksource = cs)\n"
+ "+\tif (sched_clocksource == cs)\n"
  "+\t\tsched_clocksource = &clocksource_jiffies;\n"
  "+\n"
  " \tspin_unlock_irqrestore(&clocksource_lock, flags);\n"
@@ -150,4 +150,4 @@
  " \n"
   struct clocksource clocksource_jiffies = {
 
-1128780a3fa2132165b4b18b2ba2ee73ec138e3865e3e56c7d58654bd978ca0a
+4829a9597d40191b8372f6acd86b56c4fd1f07dcf3c83a2ec14db90bda2420b8

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.