Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17539
b: refs/heads/master
c: 8240941
h: refs/heads/master
i:
  17537: ee76b5d
  17535: 36583f9
v: v3
  • Loading branch information
akpm@osdl.org authored and Linus Torvalds committed Jan 10, 2006
1 parent 705fe08 commit d6aa8e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: aed615a95f6dcc243daa99cc80658ad9ada95097
refs/heads/master: 82409411571ad89d271dc46f7fa26149fad9efdf
6 changes: 4 additions & 2 deletions trunk/arch/i386/kernel/crash.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ static void crash_setup_regs(struct pt_regs *newregs, struct pt_regs *oldregs)
{
memcpy(newregs, oldregs, sizeof(*newregs));
newregs->esp = (unsigned long)&(oldregs->esp);
__asm__ __volatile__("xorl %eax, %eax;");
__asm__ __volatile__ ("movw %%ss, %%ax;" :"=a"(newregs->xss));
__asm__ __volatile__(
"xorl %%eax, %%eax\n\t"
"movw %%ss, %%ax\n\t"
:"=a"(newregs->xss));
}

/* We may have saved_regs from where the error came from
Expand Down

0 comments on commit d6aa8e5

Please sign in to comment.