]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Introduce __pa_symbol()
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Thu, 19 Oct 2006 11:20:02 +0000 (13:20 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 30 Nov 2006 01:14:41 +0000 (01:14 +0000)
commit8431fd094d625b94d364fe393076ccef88e6ce18
treea6f34ac5f87f437b99d82f449849086539e2ed9c
parentd4df6d4e7a66b7a9bd57f5dc7d80d6b55dc12dbb
[MIPS] Introduce __pa_symbol()

This patch introduces __pa_symbol() macro which should be used to
calculate the physical address of kernel symbols. It also relies
on RELOC_HIDE() to avoid any compiler's oddities when doing
arithmetics on symbols.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/page.h