]> err.no Git - linux-2.6/commit
[PATCH] convert pm_sem to a mutex
authorStephen Hemminger <shemminger@osdl.org>
Thu, 7 Dec 2006 04:34:35 +0000 (20:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:28 +0000 (08:39 -0800)
commita6d70980602e6f1869ebcdcbfaf55a0a5941583e
treeb7e9b5f457eb7fe91fbbdbe978a50493da862cf2
parent3eb1b3a40722cbb46631db373af66d13d1e7ac81
[PATCH] convert pm_sem to a mutex

The power management semaphore is only used as mutex, so convert it.

[akpm@osdl.org: fix rotten bug]
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/disk.c
kernel/power/main.c
kernel/power/power.h
kernel/power/user.c