more eeh
Anton Blanchard
anton at samba.org
Wed Mar 17 12:43:28 EST 2004
> Are you sure you want __pa there? Isn't virt_to_phys() more applicable?
Im not convinced :)
static inline unsigned long virt_to_phys(volatile void * address)
{
#ifdef __IO_DEBUG
printk("virt_to_phys: 0x%08lx -> 0x%08lx\n",
(unsigned long) address,
__pa((unsigned long)address));
#endif
return __pa((unsigned long)address);
}
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list