diff -urpNX dontdiff a/drivers/char/selection.c b/drivers/char/selection.c
--- a/drivers/char/selection.c	2005-04-21 02:03:13.000000000 +0200
+++ b/drivers/char/selection.c	2005-04-29 10:07:47.000000000 +0200
@@ -299,7 +299,7 @@ int paste_selection(struct tty_struct *t
 		pasted += count;
 	}
 	remove_wait_queue(&vc->paste_wait, &wait);
-	current->state = TASK_RUNNING;
+	set_current_state(TASK_RUNNING);
 
 	tty_ldisc_deref(ld);
 	return 0;
