diff options
author | 2006-07-14 00:24:13 -0700 | |
---|---|---|
committer | 2006-07-14 21:53:53 -0700 | |
commit | 60198f9992db1e36d5b4cc1526ff29550f7d002c (patch) | |
tree | 972a05af48afcf1f8c9ad790e6f18e0270222296 /lib/idr.c | |
parent | [PATCH] lockdep: annotate the BLKPG_DEL_PARTITION ioctl (diff) | |
download | linux-rng-60198f9992db1e36d5b4cc1526ff29550f7d002c.tar.xz linux-rng-60198f9992db1e36d5b4cc1526ff29550f7d002c.zip |
[PATCH] Add try_to_freeze() to rt-test kthreads
When CONFIG_RT_MUTEX_TESTER is enabled kernel refuses to suspend the
machine because it's unable to freeze the rt-test-* threads.
Add try_to_freeze() after schedule() so that the threads will be freezed
correctly; I've tested the patch and it lets the notebook suspends and
resumes nicely.
Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions