[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1295418242-19859-1-git-send-email-amwang@redhat.com>
Date: Wed, 19 Jan 2011 14:24:02 +0800
From: Amerigo Wang <amwang@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: lethal@...ux-sh.org, WANG Cong <amwang@...hat.com>,
Arnd Bergmann <arnd@...db.de> (commit_signer:3/5=60%),
Andrew Morton <akpm@...ux-foundation.org> (commit_signer:2/5=40%),
Greg Kroah-Hartman <gregkh@...e.de> (commit_signer:2/5=40%),
Yannick Heneault <yheneaul@...rox.com> (commit_signer:1/5=20%),
Matthew Garrett <mjg@...hat.com> (commit_signer:1/5=20%),
linux-fbdev@...r.kernel.org (open list:FRAMEBUFFER LAYER)
Subject: [Patch V2] video: fix some comments in drivers/video/console/vgacon.c
Now vgacon_scrollback_startup() uses slab, not bootmem,
the comment above it is obsolete, so does __init_refok.
Signed-off-by: WANG Cong <amwang@...hat.com>
---
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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists