summaryrefslogtreecommitdiff
path: root/arch/nds32/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/include/asm/ptrace.h')
-rw-r--r--arch/nds32/include/asm/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nds32/include/asm/ptrace.h b/arch/nds32/include/asm/ptrace.h
index 4336083ea8..ee181b2671 100644
--- a/arch/nds32/include/asm/ptrace.h
+++ b/arch/nds32/include/asm/ptrace.h
@@ -38,6 +38,8 @@ struct pt_regs {
NDS32_REG d1hi;
NDS32_REG d1lo;
NDS32_REG r[26]; /* r0 - r25 */
+ NDS32_REG p0; /* r26 - used by OS */
+ NDS32_REG p1; /* r27 - used by OS */
NDS32_REG fp; /* r28 */
NDS32_REG gp; /* r29 */
NDS32_REG lp; /* r30 */