Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84369
b: refs/heads/master
c: 145e923
h: refs/heads/master
i:
  84367: cb5a9f9
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Feb 7, 2008
1 parent 98e0441 commit 3229776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: df922075f2a55b1ae71a6fe589c1cc1b91381f4f
refs/heads/master: 145e9230760e4db27cf5f00fd04b005c79ca1c12
2 changes: 1 addition & 1 deletion trunk/arch/m68k/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ void dump_thread(struct pt_regs * regs, struct user * dump)
if (dump->start_stack < TASK_SIZE)
dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> PAGE_SHIFT;

dump->u_ar0 = (struct user_regs_struct *)((int)&dump->regs - (int)dump);
dump->u_ar0 = offsetof(struct user, regs);
sw = ((struct switch_stack *)regs) - 1;
dump->regs.d1 = regs->d1;
dump->regs.d2 = regs->d2;
Expand Down

0 comments on commit 3229776

Please sign in to comment.