All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] hack: avoid "Registered protocol family 2" hang
@ 2004-03-05 13:01 Werner Almesberger
  2004-03-05 13:56 ` [uml-devel] Re: [uml-user] " Jonathan Boler
  0 siblings, 1 reply; 3+ messages in thread
From: Werner Almesberger @ 2004-03-05 13:01 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: user-mode-linux-user

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

I've attached a little hack that should make the hang after
NET: Registered protocol family 2
disappear. This isn't the real solution (haven't yet figured
out how this is truly supposed to work on non-SMP), but it 
gives me a happier UML :-)

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina     werner@almesberger.net /
/_http://www.almesberger.net/____________________________________________/

[-- Attachment #2: p --]
[-- Type: text/plain, Size: 371 bytes --]

--- linux-2.6.1-orig/arch/um/kernel/time_kern.c	2004-03-05 13:37:14.638203216 +0100
+++ linux-2.6.1/arch/um/kernel/time_kern.c	2004-03-05 13:14:03.159740096 +0100
@@ -172,6 +172,7 @@
 	update_process_times(user_context(UPT_SP(regs)));
 	local_irq_enable();
 #endif
+	update_process_times(user_context(UPT_SP(regs)));
 	if(current_thread->cpu == 0)
 		timer_irq(regs);
 }

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

end of thread, other threads:[~2004-03-08 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-05 13:01 [uml-devel] hack: avoid "Registered protocol family 2" hang Werner Almesberger
2004-03-05 13:56 ` [uml-devel] Re: [uml-user] " Jonathan Boler
2004-03-08 13:55   ` Werner Almesberger

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.