浏览代码

[PATCH] m68knommu: save reg a5 on context change

Fix a5 register corruption when processing user space signals handlers.
We need to save a5 through each contenxt change.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Greg Ungerer 19 年之前
父节点
当前提交
19dbaf6f6f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/asm-m68knommu/sigcontext.h

+ 1 - 0
include/asm-m68knommu/sigcontext.h

@@ -8,6 +8,7 @@ struct sigcontext {
 	unsigned long  sc_d1;
 	unsigned long  sc_a0;
 	unsigned long  sc_a1;
+	unsigned long  sc_a5;
 	unsigned short sc_sr;
 	unsigned long  sc_pc;
 	unsigned short sc_formatvec;