summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2013-10-18 04:41:44 +0400
committerRichard Kuo <rkuo@codeaurora.org>2014-04-05 03:20:02 +0400
commit446b6cb8deab01bfa278d42f3bf57ee668cb72c1 (patch)
treeb59db38ef4dae4348567f2c0ee1b16caace3fcda
parentb10fa7b62d4201602dac45290b43defd4a980a12 (diff)
downloadlinux-446b6cb8deab01bfa278d42f3bf57ee668cb72c1.tar.xz
Hexagon: set the e_flags in user regset view for core dumps
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
-rw-r--r--arch/hexagon/kernel/ptrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/hexagon/kernel/ptrace.c b/arch/hexagon/kernel/ptrace.c
index de829eb7f185..390a9ad14ca1 100644
--- a/arch/hexagon/kernel/ptrace.c
+++ b/arch/hexagon/kernel/ptrace.c
@@ -183,6 +183,7 @@ static const struct user_regset_view hexagon_user_view = {
.e_machine = ELF_ARCH,
.ei_osabi = ELF_OSABI,
.regsets = hexagon_regsets,
+ .e_flags = ELF_CORE_EFLAGS,
.n = ARRAY_SIZE(hexagon_regsets)
};