suspend.c: This is broken, fixme

Pavel Machek (pavel@ucw.cz)
Mon, 3 Jun 2002 11:55:08 +0200


Hi!

I found this in 2.5.20...

--- a/kernel/suspend.c Sun Jun 2 18:44:56 2002
+++ b/kernel/suspend.c Sun Jun 2 18:44:56 2002
@@ -64,6 +64,7 @@
#include <asm/mmu_context.h>
#include <asm/pgtable.h>
#include <asm/io.h>
+#include <linux/swapops.h>

unsigned char software_suspend_enabled = 0;

@@ -300,7 +301,8 @@
static void do_suspend_sync(void)
{
while (1) {
- run_task_queue(&tq_disk);
+ blk_run_queues();
+#error this is broken, FIXME
if (!TQ_ACTIVE(tq_disk))
break;

. Why is it broken?
Pavel

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/