Bjorn Helgaas
4f1bcaf094
[PATCH] vgacon: make VGA_MAP_MEM take size, remove extra use
...
VGA_MAP_MEM translates to ioremap() on some architectures. It makes sense
to do this to vga_vram_base, because we're going to access memory between
vga_vram_base and vga_vram_end.
But it doesn't really make sense to map starting at vga_vram_end, because
we aren't going to access memory starting there. On ia64, which always has
to be different, ioremapping vga_vram_end gives you something completely
incompatible with ioremapped vga_vram_start, so vga_vram_size ends up being
nonsense.
As a bonus, we often know the size up front, so we can use ioremap()
correctly, rather than giving it a zero size.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com >
Cc: "Antonino A. Daplas" <adaplas@pol.net >
Cc: "Luck, Tony" <tony.luck@intel.com >
Signed-off-by: Andrew Morton <akpm@osdl.org >
Signed-off-by: Linus Torvalds <torvalds@osdl.org >
2006-06-22 15:05:58 -07:00
..
2006-05-24 09:22:21 +01:00
2006-06-20 19:53:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-07 13:23:48 +01:00
2006-04-26 12:56:16 +01:00
2006-04-02 16:17:40 +01:00
2006-03-28 10:24:33 +01:00
2006-05-07 18:56:27 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-05-06 19:59:18 +01:00
2006-06-20 19:26:41 +01:00
2006-03-28 10:24:33 +01:00
2006-06-05 10:45:30 +01:00
2006-06-20 15:10:08 -07:00
2006-06-19 15:28:20 +01:00
2006-04-26 12:56:16 +01:00
2006-06-18 16:16:53 +01:00
2006-06-20 17:52:36 -07:00
2006-04-26 12:56:16 +01:00
2006-04-07 13:22:21 +01:00
2006-06-20 15:10:08 -07:00
2006-04-26 12:56:16 +01:00
2006-04-07 13:22:21 +01:00
2006-06-20 21:30:44 +01:00
2006-06-20 17:52:36 -07:00
2006-06-20 17:52:36 -07:00
2006-04-26 12:56:16 +01:00
2006-03-23 16:59:37 +00:00
2006-04-26 12:56:16 +01:00
2005-09-07 16:57:21 -07:00
2006-03-26 08:57:12 -08:00
2006-05-06 19:59:18 +01:00
2006-06-19 15:35:36 +01:00
2006-01-08 20:13:39 -08:00
2006-04-26 12:56:16 +01:00
2006-02-01 19:26:00 +00:00
2006-04-26 12:56:16 +01:00
2006-03-21 22:06:07 +00:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-03-28 21:00:40 +01:00
2006-04-26 12:56:16 +01:00
2005-09-07 16:57:38 -07:00
2006-04-26 12:56:16 +01:00
2006-01-08 20:13:39 -08:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-03-24 07:33:19 -08:00
2006-01-10 08:01:34 -08:00
2006-03-20 10:12:31 +00:00
2006-04-26 12:56:16 +01:00
2005-10-18 07:51:34 +01:00
2006-04-26 12:56:16 +01:00
2006-02-15 15:32:22 -08:00
2005-11-16 17:23:57 +00:00
2006-02-08 21:19:38 +00:00
2006-04-26 12:56:16 +01:00
2006-03-21 22:05:45 +00:00
2006-04-26 12:56:16 +01:00
2006-03-21 22:03:25 +00:00
2006-04-02 00:07:39 +01:00
2006-04-02 00:07:39 +01:00
2006-03-25 08:22:56 -08:00
2006-04-26 12:56:16 +01:00
2006-01-13 21:04:17 +00:00
2006-05-16 11:39:30 +01:00
2006-04-26 12:56:16 +01:00
2006-03-27 08:44:50 -08:00
2006-01-04 15:08:30 +00:00
2005-12-01 20:58:01 +00:00
2005-09-20 16:25:12 +01:00
2005-09-26 15:30:20 +01:00
2006-04-26 12:56:16 +01:00
2005-08-29 15:31:35 -07:00
2005-09-10 10:06:21 -07:00
2006-05-19 21:55:35 +01:00
2006-01-14 16:32:12 +00:00
2006-01-14 16:35:03 +00:00
2006-06-20 17:52:36 -07:00
2006-03-12 22:36:06 +00:00
2006-03-21 22:03:20 +00:00
2006-04-26 12:56:16 +01:00
2005-09-05 00:05:48 -07:00
2005-11-18 14:22:03 +00:00
2006-05-06 19:59:18 +01:00
2006-04-10 21:32:42 +01:00
2006-06-22 15:05:58 -07:00