Skip to content
Commit e9bf0cc7 authored by Parag Warudkar's avatar Parag Warudkar Committed by Linus Torvalds
Browse files

elfcore.h : Fix UML build breakage



Commit a65e7bfc broke the UML build with
the following error -

  In file included from fs/proc/kcore.c:17:
  include/linux/elfcore.h: In function 'elf_core_copy_task_regs':
  include/linux/elfcore.h:129: error: implicit declaration of function 'task_pt_regs'

Fix this by restoring the previous behavior of returning 0 for all arches
like UML that don't define task_pt_regs.

Signed-off-by: default avatarParag Warudkar <parag.lkml@gmail.com>
Acked-by: default avatarAmerigo Wang <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent faf80d62
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment