]> Pileus Git - ~andy/linux/commit
x86/lguest: Use __pa_symbol instead of __pa on C visible symbols
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 16 Nov 2012 21:58:12 +0000 (13:58 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 17 Nov 2012 02:11:45 +0000 (18:11 -0800)
commit6a3956bd242926f8956992f6ed7805b0811be003
tree17573ed080c4f4d42a64bd7899fdff8897ed7ae5
parentafd51a0e32cd79261f0e823400886ed322a355ac
x86/lguest: Use __pa_symbol instead of __pa on C visible symbols

The function lguest_write_cr3 is using __pa to convert swapper_pg_dir and
initial_page_table from virtual addresses to physical.  The correct function
to use for these values is __pa_symbol since they are C visible symbols.

Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Link: http://lkml.kernel.org/r/20121116215748.8521.83556.stgit@ahduyck-cp1.jf.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/lguest/boot.c