mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] UML - Enable the timer *after* the timer handler
@ 2004-09-14  7:27 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2004-09-14  7:27 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

Otherwise, we'll sometimes get timer interrupts that we can't handle.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: 2.6.9-rc2/arch/um/kernel/skas/process_kern.c
===================================================================
--- 2.6.9-rc2.orig/arch/um/kernel/skas/process_kern.c	2004-09-14 02:03:57.000000000 -0400
+++ 2.6.9-rc2/arch/um/kernel/skas/process_kern.c	2004-09-14 02:04:00.000000000 -0400
@@ -224,9 +224,9 @@
 {
 	start_userspace(0);
 	capture_signal_stack();
-	uml_idle_timer();
 
 	init_new_thread_signals(1);
+	uml_idle_timer();
 
 	init_task.thread.request.u.thread.proc = start_kernel_proc;
 	init_task.thread.request.u.thread.arg = NULL;
More recent patches modify files in timer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-14  6:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-14  7:27 [PATCH] UML - Enable the timer *after* the timer handler Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®