[PATCH] uml: TT mode softint fixes
Some fixes to make softints work in tt mode. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
c83d4635ee
commit
097fdf06c6
@@ -187,8 +187,9 @@ void timer_handler(int sig, union uml_pt_regs *regs)
|
||||
{
|
||||
local_irq_disable();
|
||||
irq_enter();
|
||||
update_process_times(CHOOSE_MODE(user_context(UPT_SP(regs)),
|
||||
(regs)->skas.is_user));
|
||||
update_process_times(CHOOSE_MODE(
|
||||
(UPT_SC(regs) && user_context(UPT_SP(regs))),
|
||||
(regs)->skas.is_user));
|
||||
irq_exit();
|
||||
local_irq_enable();
|
||||
if(current_thread->cpu == 0)
|
||||
|
Reference in New Issue
Block a user