瀏覽代碼

Hexagon: set the e_flags in user regset view for core dumps

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Richard Kuo 12 年之前
父節點
當前提交
446b6cb8de
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/hexagon/kernel/ptrace.c

+ 1 - 0
arch/hexagon/kernel/ptrace.c

@@ -183,6 +183,7 @@ static const struct user_regset_view hexagon_user_view = {
 	.e_machine = ELF_ARCH,
 	.e_machine = ELF_ARCH,
 	.ei_osabi = ELF_OSABI,
 	.ei_osabi = ELF_OSABI,
 	.regsets = hexagon_regsets,
 	.regsets = hexagon_regsets,
+	.e_flags = ELF_CORE_EFLAGS,
 	.n = ARRAY_SIZE(hexagon_regsets)
 	.n = ARRAY_SIZE(hexagon_regsets)
 };
 };