From: David S. Miller Date: Thu, 15 Mar 2007 22:44:05 +0000 (-0700) Subject: [SPARC64]: Privatize sun4u_get_pte() and fix name. X-Git-Tag: v2.6.22-rc1~1127^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4be5c34dc47b5a9e6f91c8f5937a93c464870b8e;p=pandora-kernel.git [SPARC64]: Privatize sun4u_get_pte() and fix name. __get_phys is only called from init.c as is prom_virt_to_phys(), __get_iospace() is not called at all, and sun4u_get_pte() is largely misnamed. Privatize the implementation and helper functions of sun4u_get_phys() to mm/init.c, and rename to kvaddr_to_paddr(). The only used of this thing is flush_icache_range(), and thus things can be considerably further simplified. For example, we should only see module or PAGE_OFFSET kernel addresses here, so we don't need the OBP firmware range handling at all. Signed-off-by: David S. Miller --- Reading git-diff-tree failed