[PATCH] Use phys_to_virt instead of bus_to_virt in vesafb
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Thu, 7 Mar 2002 08:40:09 +0000 (00:40 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 7 Mar 2002 08:40:09 +0000 (00:40 -0800)
commit862c759d87d381649f01e062a33b033e86ded96f
tree3eced6aee6df570184ea0cc5cfb5733937e06dd0
parent1bc8f69a5a7ac7024cfa61a9ac16db910f8c9cde
[PATCH] Use phys_to_virt instead of bus_to_virt in vesafb

Several people (including Alan Cox) on lkml claimed that the BIOS
returns CPU addresses, so using phys_to_virt is actually correct -
and it makes my kernel compile again.

As vesafb only compiles on i386, using a more portable API isn't useful,
anyway.
drivers/video/vesafb.c