lockup_detector: Convert cpu notifier to return encapsulate errno value
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 1 Sep 2010 03:00:08 +0000 (23:00 -0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 1 Sep 2010 05:33:34 +0000 (07:33 +0200)
commiteac243355a99d6b9d41bbeba4fc83e7f735485f9
tree39cd6ab8a7e48dcc0d59085a674dcda84844e041
parent46b93b74fc022885ab69dfc8e2af0562dd626638
lockup_detector: Convert cpu notifier to return encapsulate errno value

By the commit e6bde73b07edeb703d4c89c1daabc09c303de11f
("cpu-hotplug: return better errno on cpu hotplug failure"),
the cpu notifier can return encapsulate errno value, resulting
in more meaningful error codes for CPU hotplug failures.

This converts the cpu notifier to return encapsulate errno value
for the lockup_detector as well.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: peterz@infradead.org
Cc: gorcunov@gmail.com
Cc: fweisbec@gmail.com
LKML-Reference: <1283310009-22168-3-git-send-email-dzickus@redhat.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/watchdog.c