All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH]set_current_state cleanup in
@ 2007-04-06  2:46 Jestin Stoffel
  2007-04-06  2:55 ` Jestin Stoffel
  0 siblings, 1 reply; 2+ messages in thread
From: Jestin Stoffel @ 2007-04-06  2:46 UTC (permalink / raw)
  To: kernel-janitors

From:  Jestin Stoffel <jstnstffl@gmail.com>

Replaced a couple current->state= with set_current_state

Signed-off-by:  Jestin Stoffel <jstnstffl@gmail.com>
---
--- linux-2.6.21-rc5/drivers/serial/68360serial.c.orig	2007-04-05 21:34:12.000000000 -0500
+++ linux-2.6.21-rc5/drivers/serial/68360serial.c	2007-04-05 21:35:17.000000000 -0500
@@ -1750,7 +1750,7 @@ static void rs_360_wait_until_sent(struc
 		else
 			bdp--;
 	} while (bdp->status & BD_SC_READY);
-	current->state = TASK_RUNNING;
+	set_current_state(TASK_RUNNING);
 #ifdef SERIAL_DEBUG_RS_WAIT_UNTIL_SENT
 	printk("lsr = %d (jiff=%lu)...done\n", lsr, jiffies);
 #endif
@@ -1880,7 +1880,7 @@ static int block_til_ready(struct tty_st
 #endif
 		schedule();
 	}
-	current->state = TASK_RUNNING;
+	set_current_state(TASK_RUNNING);
 	remove_wait_queue(&info->open_wait, &wait);
 	if (!tty_hung_up_p(filp))
 		state->count++;
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [KJ] [PATCH]set_current_state cleanup in
  2007-04-06  2:46 [KJ] [PATCH]set_current_state cleanup in Jestin Stoffel
@ 2007-04-06  2:55 ` Jestin Stoffel
  0 siblings, 0 replies; 2+ messages in thread
From: Jestin Stoffel @ 2007-04-06  2:55 UTC (permalink / raw)
  To: kernel-janitors

From:  Jestin Stoffel <jstnstffl@gmail.com>

Replaced current->state= with set_current_state

---
--- linux-2.6.21-rc5/drivers/serial/serial_core.c.orig	2007-04-05 21:52:04.000000000 -0500
+++ linux-2.6.21-rc5/drivers/serial/serial_core.c	2007-04-05 21:52:45.000000000 -0500
@@ -1013,7 +1013,7 @@ uart_wait_modem_status(struct uart_state
 		cprev = cnow;
 	}
 
-	current->state = TASK_RUNNING;
+	set_current_state(TASK_RUNNING);
 	remove_wait_queue(&state->info->delta_msr_wait, &wait);
 
 	return ret;
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-06  2:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-06  2:46 [KJ] [PATCH]set_current_state cleanup in Jestin Stoffel
2007-04-06  2:55 ` Jestin Stoffel

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.