Re: [PATCH v4] x86/xen: Use __pa_symbol instead of __pa on C visible symbols

2012-11-16 Thread Konrad Rzeszutek Wilk
On Fri, Nov 16, 2012 at 01:45:25PM -0800, Alexander Duyck wrote: > 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

[PATCH v4] x86/xen: Use __pa_symbol instead of __pa on C visible symbols

2012-11-16 Thread Alexander Duyck
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