PM: Make PM_TRACE more architecture independent
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 19 Nov 2007 22:46:16 +0000 (23:46 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:54 +0000 (18:30 -0500)
commit90dda1cb6ace6abd777f84bf051c4f86fa58986a
treeb53a566118e5e130a55707bea6d01e112508c8df
parentce2b7147bb83b7d729b17c1638f092a1bcba4981
PM: Make PM_TRACE more architecture independent

When trying to debug a suspend failure I started implementing
PM_TRACE for powerpc. I then noticed that I'm debugging a suspend
failure and so PM_TRACE isn't useful at all, but thought that
nonetheless this could be useful in the future.

Basically, to support PM_TRACE, you add a Kconfig option that
selects PM_TRACE and provides the infrastructure as per the
help text of PM_TRACE.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/base/power/Makefile
kernel/power/Kconfig