]> 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>
Mon, 4 Mar 2013 15:36:57 +0000 (10:36 -0500)
commitd02699241b446d7871178cd23554c51fe4106d24
tree4db00b41c949ae1b62578e5310abddc6371b6773
parent670f3cf252043c5bfbac2a60b19c3092c5892caa
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