]> git.baikalelectronics.ru Git - kernel.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)
commit42826fc867fcaa5c614830947bbc612f83a943d9
treea6f34ac5f87f437b99d82f449849086539e2ed9c
parent462bad50f746cbba1f549aa2a4711bff648fcf0a
[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