]> git.baikalelectronics.ru Git - kernel.git/commit
elfcore.h : Fix UML build breakage
authorParag Warudkar <parag.lkml@gmail.com>
Wed, 8 Jul 2009 15:46:02 +0000 (11:46 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jul 2009 16:18:05 +0000 (09:18 -0700)
commit3dcddbb3eb4b451270f2030bb1fe81003891db76
tree3d44e78af85ce720091ed7d0a8e1307d5d54e364
parentfe91df14ef7b2a5c3d9c4f664326fa69039a75f2
elfcore.h : Fix UML build breakage

Commit 4d259bb369105fa4f46342cfc416fa2173644425 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: Parag Warudkar <parag.lkml@gmail.com>
Acked-by: Amerigo Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/elfcore.h