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>
This commit is contained in:
Daniel Schwierzeck
2016-01-09 18:34:14 +01:00
parent 924ad86638
commit 67588bdade
2 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
/*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <generated/asm-offsets.h>