Re: [PATCH v3 8/8] x86/lguest: Use __pa_symbol instead of __pa on C visible symbols

Rusty Russell
2012-11-06T02:10:43Z

Alexander Duyck <alexander.h.duyck@intel.com> writes:
> 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>

Acked-by: Rusty Russell <rusty@rustcorp.com.au>

Cheers,
Rusty.