powerpc/fsl_booke: introduce get_phys_addr function
authorKevin Hao <haokexin@gmail.com>
Tue, 24 Dec 2013 07:12:04 +0000 (15:12 +0800)
committerScott Wood <scottwood@freescale.com>
Thu, 9 Jan 2014 23:52:15 +0000 (17:52 -0600)
commit99739611e816716d912ae89a4354237fc39745a6
tree5077031e3e94206cf8520145b6a6475a1886d50c
parent7c732cba3d9312882e82d91d5948261dfd5c8fe6
powerpc/fsl_booke: introduce get_phys_addr function

Move the codes which translate a effective address to physical address
to a separate function. So it can be reused by other code.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/head_fsl_booke.S