* [PATCH] UML - fix update_process_times call
@ 2004-12-03 21:45 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2004-12-03 21:45 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, Blaisorblade, Bodo Stroesser
From: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
In call to update_process_times() set parameter user
correctly. (was from for SKAS).
Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: 2.6.9/arch/um/kernel/time_kern.c
===================================================================
--- 2.6.9.orig/arch/um/kernel/time_kern.c 2004-12-01 23:43:04.000000000 -0500
+++ 2.6.9/arch/um/kernel/time_kern.c 2004-12-01 23:54:26.000000000 -0500
@@ -170,7 +170,7 @@
void timer_handler(int sig, union uml_pt_regs *regs)
{
local_irq_disable();
- update_process_times(user_context(UPT_SP(regs)));
+ update_process_times(CHOOSE_MODE(user_context(UPT_SP(regs)), (regs)->skas.is_user));
local_irq_enable();
if(current_thread->cpu == 0)
timer_irq(regs);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-03 19:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-03 21:45 [PATCH] UML - fix update_process_times call Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).