]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/xen: Use __pa_symbol instead of __pa on C visible symbols
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 16 Nov 2012 21:45:25 +0000 (13:45 -0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 27 Nov 2012 01:11:18 +0000 (20:11 -0500)
commitcc8737dd1201cbd336f05e6e6a3418a5118a9827
treec69173993e31b8fac577485d7691840533e2e368
parentc22ffd35b88d70df59456209015de593e0cf9d79
x86/xen: Use __pa_symbol instead of __pa on C visible symbols

This change updates a few of the functions to use __pa_symbol when
translating C visible symbols instead of __pa.  By using __pa_symbol we are
able to drop a few extra lines of code as don't have to test to see if the
virtual pointer is a part of the kernel text or just standard virtual memory.

Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/mmu.c