MIPS: add asm-offsets for struct pt_regs
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 9 Jan 2016 17:34:14 +0000 (18:34 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 30 Nov 2016 15:11:46 +0000 (16:11 +0100)
commit67588bdade302b9c26e00f6a2ceaccaf8fd98fba
tree03e2f84a469d35856c078d7e0c49427144f4863b
parent924ad86638705fe37db98812f355260669f0f043
MIPS: add asm-offsets for struct pt_regs

Import asm-offsets.c from kernel to generate offset for struct pt_regs
needed by exception handlers.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/include/asm/asm-offsets.h [new file with mode: 0644]
arch/mips/lib/asm-offsets.c [new file with mode: 0644]