From 7ea22cab31364285172cd61997faa6de3959dfd9 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Sun, 5 Jul 2009 12:08:15 -0700 Subject: [PATCH] --- yaml --- r: 154909 b: refs/heads/master c: a65e7bfcd74e4c0939f235d2bf9f48ddb3a57991 h: refs/heads/master i: 154907: ea403aafc23c791fe37b9275dcdabfc7ab5e164c v: v3 --- [refs] | 2 +- trunk/include/linux/elfcore.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 9410081c5444..daaaf827f222 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3beab0b42413e83a7907db7176b54c840fc75a81 +refs/heads/master: a65e7bfcd74e4c0939f235d2bf9f48ddb3a57991 diff --git a/trunk/include/linux/elfcore.h b/trunk/include/linux/elfcore.h index 7605c5e9589f..03ec16779802 100644 --- a/trunk/include/linux/elfcore.h +++ b/trunk/include/linux/elfcore.h @@ -125,6 +125,8 @@ static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* #ifdef ELF_CORE_COPY_TASK_REGS return ELF_CORE_COPY_TASK_REGS(t, elfregs); +#else + elf_core_copy_regs(elfregs, task_pt_regs(t)); #endif return 0; }