[Patch V2] video: fix some comments in drivers/video/console/vgacon.c

Subsystems: console subsystem, framebuffer layer, the rest

STALE5691d

2 messages, 2 authors, 2011-01-25 · open the first message on its own page

[Patch V2] video: fix some comments in drivers/video/console/vgacon.c

From: Amerigo Wang <hidden>
Date: 2011-01-19 06:24:26

Now vgacon_scrollback_startup() uses slab, not bootmem,
the comment above it is obsolete, so does __init_refok.

Signed-off-by: WANG Cong <redacted>

---
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c
index c97491b..915fd74 100644
--- a/drivers/video/console/vgacon.c
+++ b/drivers/video/console/vgacon.c
@@ -202,11 +202,7 @@ static void vgacon_scrollback_init(int pitch)
 	}
 }
 
-/*
- * Called only duing init so call of alloc_bootmen is ok.
- * Marked __init_refok to silence modpost.
- */
-static void __init_refok vgacon_scrollback_startup(void)
+static void vgacon_scrollback_startup(void)
 {
 	vgacon_scrollback = kcalloc(CONFIG_VGACON_SOFT_SCROLLBACK_SIZE, 1024, GFP_NOWAIT);
 	vgacon_scrollback_init(vga_video_num_columns * 2);

Re: [Patch V2] video: fix some comments in drivers/video/console/vgacon.c

From: Paul Mundt <hidden>
Date: 2011-01-25 07:03:34

On Wed, Jan 19, 2011 at 02:24:02PM +0800, Amerigo Wang wrote:
Now vgacon_scrollback_startup() uses slab, not bootmem,
the comment above it is obsolete, so does __init_refok.

Signed-off-by: WANG Cong <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help