m68k: correct setting of struct user.u_ar0

Commit 6e16d89bcd668a95eb22add24c02d80890232b66 ("Sanitize the type of
struct user.u_ar0") forgot to change the m68k setting code, causing the
following compiler warning:

arch/m68k/kernel/process.c:338: warning: assignment makes integer from pointer without a cast

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Geert Uytterhoeven and committed by Linus Torvalds 145e9230 df922075

+1 -1
+1 -1
arch/m68k/kernel/process.c
··· 335 335 if (dump->start_stack < TASK_SIZE) 336 336 dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> PAGE_SHIFT; 337 337 338 - dump->u_ar0 = (struct user_regs_struct *)((int)&dump->regs - (int)dump); 338 + dump->u_ar0 = offsetof(struct user, regs); 339 339 sw = ((struct switch_stack *)regs) - 1; 340 340 dump->regs.d1 = regs->d1; 341 341 dump->regs.d2 = regs->d2;