projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0e21d
)
elf_core_copy_task_regs(): task_pt_regs is defined everywhere
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 4 Sep 2022 21:15:38 +0000
(17:15 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 23 Oct 2022 22:06:56 +0000
(18:06 -0400)
Had been since 2011 for all live architectures, ever since 2013
for all architectures, period.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/elfcore.h
patch
|
blob
|
history
diff --git
a/include/linux/elfcore.h
b/include/linux/elfcore.h
index 346a8b56cdc831f798b0c59eab56160446d6de74..fcf58e16d1e392a1ac81c3a55790a17213025cff 100644
(file)
--- a/
include/linux/elfcore.h
+++ b/
include/linux/elfcore.h
@@
-88,7
+88,7
@@
static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t*
{
#if defined (ELF_CORE_COPY_TASK_REGS)
return ELF_CORE_COPY_TASK_REGS(t, elfregs);
-#el
if defined (task_pt_regs)
+#el
se
elf_core_copy_regs(elfregs, task_pt_regs(t));
#endif
return 0;