Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23000
b: refs/heads/master
c: db753bd
h: refs/heads/master
v: v3
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Mar 23, 2006
1 parent 76b0103 commit a4eecf4
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 101f12af16fb12f8da8100899a13ee1b1b576a0a
refs/heads/master: db753bdfc24c31228996799d508ce3bf7cbe3b99
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/crash.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static int crash_nmi_callback(struct pt_regs *regs, int cpu)
return 1;
local_irq_disable();

if (!user_mode(regs)) {
if (!user_mode_vm(regs)) {
crash_fixup_ss_esp(&fixed_regs, regs);
regs = &fixed_regs;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ void show_regs(struct pt_regs * regs)
printk("EIP: %04x:[<%08lx>] CPU: %d\n",0xffff & regs->xcs,regs->eip, smp_processor_id());
print_symbol("EIP is at %s\n", regs->eip);

if (user_mode(regs))
if (user_mode_vm(regs))
printk(" ESP: %04x:%08lx",0xffff & regs->xss,regs->esp);
printk(" EFLAGS: %08lx %s (%s %.*s)\n",
regs->eflags, print_tainted(), system_utsname.release,
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/i386/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ void show_registers(struct pt_regs *regs)

esp = (unsigned long) (&regs->esp);
savesegment(ss, ss);
if (user_mode(regs)) {
if (user_mode_vm(regs)) {
in_kernel = 0;
esp = regs->esp;
ss = regs->xss & 0xffff;
Expand Down Expand Up @@ -644,7 +644,7 @@ void die_nmi (struct pt_regs *regs, const char *msg)
/* If we are in kernel we are probably nested up pretty bad
* and might aswell get out now while we still can.
*/
if (!user_mode(regs)) {
if (!user_mode_vm(regs)) {
current->thread.trap_no = 2;
crash_kexec(regs);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-i386/mach-default/do_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static inline void do_timer_interrupt_hook(struct pt_regs *regs)
{
do_timer(regs);
#ifndef CONFIG_SMP
update_process_times(user_mode(regs));
update_process_times(user_mode_vm(regs));
#endif
/*
* In the SMP case we use the local APIC timer interrupt to do the
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-i386/mach-visws/do_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ static inline void do_timer_interrupt_hook(struct pt_regs *regs)

do_timer(regs);
#ifndef CONFIG_SMP
update_process_times(user_mode(regs));
update_process_times(user_mode_vm(regs));
#endif
/*
* In the SMP case we use the local APIC timer interrupt to do the
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-i386/mach-voyager/do_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ static inline void do_timer_interrupt_hook(struct pt_regs *regs)
{
do_timer(regs);
#ifndef CONFIG_SMP
update_process_times(user_mode(regs));
update_process_times(user_mode_vm(regs));
#endif

voyager_timer_interrupt(regs);
Expand Down

0 comments on commit a4eecf4

Please sign in to comment.