x86/acpi: Use __pa_symbol instead of __pa on C visible symbols
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 16 Nov 2012 21:57:43 +0000 (13:57 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 17 Nov 2012 00:42:10 +0000 (16:42 -0800)
commitafd51a0e32cd79261f0e823400886ed322a355ac
tree1683eb5bdce412a1182dd5b72979fb32b9f2d896
parent217f155e9fc68bf2a6c58a7b47e0d1ce68d78818
x86/acpi: Use __pa_symbol instead of __pa on C visible symbols

This change just updates one spot where __pa was being used when __pa_symbol
should have been used.  By using __pa_symbol we are able to drop a few extra
lines of code as we don't have to test to see if the virtual pointer is a
part of the kernel text or just standard virtual memory.

Cc: Len Brown <len.brown@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Link: http://lkml.kernel.org/r/20121116215737.8521.51167.stgit@ahduyck-cp1.jf.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/acpi/sleep.c