[PATCH 0/2] pm_trace: Add locking and add sysfs attr for rechecking dev hash.

From: James Hogan
Date: Sat Oct 09 2010 - 18:35:17 EST


A fix and an improvement to the pm_trace code.

The improvement allows finding out via sysfs which device was last traced when
the device is part of a kernel module (which means it doesn't get printed on
next boot since it isn't loaded yet).

Unsure as always about what to name stuff, so comments most welcome.

James Hogan (2):
pm_trace: Lock pm device list mutex.
pm_trace: Add sysfs attr for rechecking dev hash.

Documentation/power/s2ram.txt | 7 +++++++
drivers/base/power/trace.c | 32 +++++++++++++++++++++++++++++++-
include/linux/resume-trace.h | 2 ++
kernel/power/main.c | 18 ++++++++++++++++++
4 files changed, 58 insertions(+), 1 deletions(-)

--
1.7.2.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/