]> 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>
Sat, 1 Dec 2012 13:49:14 +0000 (08:49 -0500)
commitb1ccde4b43b24160c983394f798c9ebe557ac747
tree2d73cef6aae66108964fbd373ca83c63e4fe49c6
parent80840912da1d6cdab5e2e8cce1fb743f84c1613e
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