[IA64] Fix kernel hangup in kdump on INIT
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Sat, 1 Sep 2007 07:37:48 +0000 (16:37 +0900)
committerTony Luck <tony.luck@intel.com>
Fri, 12 Oct 2007 22:24:40 +0000 (15:24 -0700)
commit2010d7fe787b39afd31daba5d5284dd432de4e8f
treec595dfc3127abd6282dbd941fdd022577e7740e8
parentac542a513bd7905fa1a700881e0a40a94d3ed46a
[IA64] Fix kernel hangup in kdump on INIT

Fix the problem that kdump on INIT hung up if kdump kernel image is
not configured.

The kdump_init_notifier() on monarch CPU stops its operation at
DIE_INIT_MONARCH_LEAVE time if the kdump kernel image is not
configured. On the other hand, kdump_init_notifier() on non-monarch
CPUs get into spin because they don't know the fact the monarch stops
its operation. This is the cause of this problem. To fix this problem,
we need to check the kdump kernel image at the top of the
kdump_init_notifier() function.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/crash.c