summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/kernel
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2013-10-18 02:41:44 +0200
committerRichard Kuo <rkuo@codeaurora.org>2014-04-05 01:20:02 +0200
commit446b6cb8deab01bfa278d42f3bf57ee668cb72c1 (patch)
treeb59db38ef4dae4348567f2c0ee1b16caace3fcda /arch/hexagon/kernel
parentHexagon: fix atomic_set (diff)
downloadlinux-446b6cb8deab01bfa278d42f3bf57ee668cb72c1.tar.xz
linux-446b6cb8deab01bfa278d42f3bf57ee668cb72c1.zip
Hexagon: set the e_flags in user regset view for core dumps
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/kernel')
-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)
};