public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Wrong __pa() usages in driver/char/mem.c ?
@ 2006-10-12 12:25 Franck Bui-Huu
  0 siblings, 0 replies; only message in thread
From: Franck Bui-Huu @ 2006-10-12 12:25 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Atsushi Nemoto, Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-12 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 12:25 Wrong __pa() usages in driver/char/mem.c ? Franck Bui-Huu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox