[PATCH][-mm]kedac not stopped at suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kedac thread doesn't stop at suspend time.
http://bugzilla.kernel.org/show_bug.cgi?id=5849

Thanks,
Shaohua
---

 linux-2.6.15-root/drivers/edac/edac_mc.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN drivers/edac/edac_mc.c~edac drivers/edac/edac_mc.c
--- linux-2.6.15/drivers/edac/edac_mc.c~edac	2006-01-09 09:47:18.000000000 +0800
+++ linux-2.6.15-root/drivers/edac/edac_mc.c	2006-01-09 09:59:26.000000000 +0800
@@ -2072,6 +2072,8 @@ static int edac_kernel_thread(void *arg)
 		if(signal_pending(current))
 			flush_signals(current);
 
+		try_to_freeze();
+
 		/* ensure we are interruptable */
 		set_current_state(TASK_INTERRUPTIBLE);
 
_


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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux