[PATCH 2/11] UML - Clean up switching between virtual and real timers

2007-09-12 Thread Jeff Dike
Fix up the switching between virtual and real timers. The idle loop sleeps, the timer at that point must be real time. At all other times, the timer must be virtual. Even when userspace is running, and the kernel is asleep, the virtual timer is correct because the process timer will be running.

[PATCH 2/11] UML - Clean up switching between virtual and real timers

2007-09-12 Thread Jeff Dike
Fix up the switching between virtual and real timers. The idle loop sleeps, the timer at that point must be real time. At all other times, the timer must be virtual. Even when userspace is running, and the kernel is asleep, the virtual timer is correct because the process timer will be running.