On Sun, 2006-05-21 at 16:59 +0100, David Woodhouse wrote:
> It doesn't matter for kernel addresses on CPUs like SH and MIPS,
> because
> it's just a mask anyway. There's a 1:1 mapping from virtual<->physical
> addresses, and all you have to do to get a physical address is mask
> out
> the top bits.

I still think it matters from the point of view of logical
correctness ... you shouldn't be calling virt_to_bus() on an already
physical address, even if the operation happens to be idempotent on the
architecture.

James


-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to