suspend: use WARN not WARN_ON to print the message
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 18 Nov 2008 14:56:51 +0000 (06:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Nov 2008 16:07:36 +0000 (08:07 -0800)
commita6a0c4ca7edb378a8a7332501f097089cb1051c4
treeafc4bd95482576e7dfd0685d1cb2bed6cac65db9
parent72b51a6b4d803381f16d819df392dd1efd1c7181
suspend: use WARN not WARN_ON to print the message

By using WARN(), kerneloops.org can collect which component is causing
the delay and make statistics about that. suspend_test_finish() is
currently the number 2 item but unless we can collect who's causing
it we're not going to be able to fix the hot topic ones..

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/power/main.c