Wrong __pa() usages in driver/char/mem.c ?

From: Franck Bui-Huu
Date: Thu Oct 12 2006 - 08:26:29 EST


I'm suprised to find some __pa() usages in a driver. I would
have used virt_to_phys() instead. In my understanding __pa()
is used only during early bootmem init, because this macro
is aware of any weird things that might exist at this early
stage. But once this stage is completed virt_to_phys() should
be used.

Is this understanding wrong ?

Thanks
Franck
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/