# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171547485 0
# Node ID e253a63651bf9b08045dfb50a5c54f0e0311b8db
# Parent 24f16bae44b0e80e43c0f8fd3d3f3088fb4ab74a
linux: user user_mode_vm() in place of user_mode() where necessary.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 24f16bae44b0 -r e253a63651bf
linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c
--- a/linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c Thu Feb 15 13:49:04
2007 +0000
+++ b/linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c Thu Feb 15 13:51:25
2007 +0000
@@ -708,7 +708,7 @@ irqreturn_t timer_interrupt(int irq, voi
if (delta_cpu > 0) {
do_div(delta_cpu, NS_PER_TICK);
per_cpu(processed_system_time, cpu) += delta_cpu * NS_PER_TICK;
- if (user_mode(regs))
+ if (user_mode_vm(regs))
account_user_time(current, (cputime_t)delta_cpu);
else
account_system_time(current, HARDIRQ_OFFSET,
@@ -722,7 +722,7 @@ irqreturn_t timer_interrupt(int irq, voi
/* Local timer processing (see update_process_times()). */
run_local_timers();
if (rcu_pending(cpu))
- rcu_check_callbacks(cpu, user_mode(regs));
+ rcu_check_callbacks(cpu, user_mode_vm(regs));
scheduler_tick();
run_posix_cpu_timers(current);
profile_tick(CPU_PROFILING, regs);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|