debug warnings: consolidate warn_slowpath and warn_on_slowpath
authorArjan van de Ven <arjan@linux.intel.com>
Fri, 28 Nov 2008 16:35:25 +0000 (08:35 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 28 Nov 2008 16:52:50 +0000 (17:52 +0100)
commit74853dba2f7a1a9b0905a09abcf65c1f3ce0b14f
tree8b054f73abe37b6201d2e2efb8e79887737ee32e
parent7fbb8759eff9a348efa5f352ffaa51c364837c4b
debug warnings: consolidate warn_slowpath and warn_on_slowpath

Impact: cleanup, code reduction

warn_slowpath is a superset of warn_on_slowpath; just have
warn_on_slowpath call warn_slowpath with a NULL 3rd argument.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/panic.c