git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nfs: new subdir Documentation/filesystems/nfs
[safe/jmp/linux-2.6]
/
include
/
linux
/
elfcore.h
diff --git
a/include/linux/elfcore.h
b/include/linux/elfcore.h
index
03ec167
..
00d6a68
100644
(file)
--- a/
include/linux/elfcore.h
+++ b/
include/linux/elfcore.h
@@
-122,10
+122,9
@@
static inline void elf_core_copy_kernel_regs(elf_gregset_t *elfregs, struct pt_r
static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* elfregs)
{
static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* elfregs)
{
-#ifdef ELF_CORE_COPY_TASK_REGS
-
+#if defined (ELF_CORE_COPY_TASK_REGS)
return ELF_CORE_COPY_TASK_REGS(t, elfregs);
return ELF_CORE_COPY_TASK_REGS(t, elfregs);
-#el
se
+#el
if defined (task_pt_regs)
elf_core_copy_regs(elfregs, task_pt_regs(t));
#endif
return 0;
elf_core_copy_regs(elfregs, task_pt_regs(t));
#endif
return 0;