Re: [PATCH] Initialise SAK member for each virtual console to prevent oops



From: Bernhard Walle <bwalle@xxxxxxx>
Date: Sun, 11 Mar 2007 21:41:38 +0100

This patch initialises the SAK member of the vc_cons variable on all virtual
terminals, not only the first one.

No it doesn't

--- linux-2.6.21-rc3.orig/drivers/char/vt.c
+++ linux-2.6.21-rc3/drivers/char/vt.c
@@ -724,6 +724,7 @@ int vc_allocate(unsigned int currcons) /
return -ENOMEM;
memset(vc, 0, sizeof(*vc));
vc_cons[currcons].d = vc;
+ /* INIT_WORK(&vc_cons[currcons].SAK_work, vc_SAK); */

The code is commented out, so it won't do anything.

Please review the patches you are about to send to the list,
thank you.
-
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/



Relevant Pages