Displaying 1 result from an estimated 1 matches for "59d7d5e".
2009 Sep 15
1
[PATCH] vgacon: Prevent vgacon_deinit from touching the hardware for inactive consoles.
...con_deinit(). If it wasn't anymore, I guess the right
thing to do would be to just remove the offending lines...
drivers/video/console/vgacon.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c
index 59d7d5e..6bd75a9 100644
--- a/drivers/video/console/vgacon.c
+++ b/drivers/video/console/vgacon.c
@@ -590,12 +590,14 @@ static void vgacon_init(struct vc_data *c, int init)
static void vgacon_deinit(struct vc_data *c)
{
- /* When closing the last console, reset video origin */
- if (!--vgacon_uni_paged...