aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/page.h')
-rw-r--r--arch/x86/include/asm/page.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/page.h b/arch/x86/include/asm/page.h
index 8ca82839288a..3698a6a0a940 100644
--- a/arch/x86/include/asm/page.h
+++ b/arch/x86/include/asm/page.h
@@ -44,7 +44,8 @@ static inline void copy_user_page(void *to, void *from, unsigned long vaddr,
44 * case properly. Once all supported versions of gcc understand it, we can 44 * case properly. Once all supported versions of gcc understand it, we can
45 * remove this Voodoo magic stuff. (i.e. once gcc3.x is deprecated) 45 * remove this Voodoo magic stuff. (i.e. once gcc3.x is deprecated)
46 */ 46 */
47#define __pa_symbol(x) __pa(__phys_reloc_hide((unsigned long)(x))) 47#define __pa_symbol(x) \
48 __phys_addr_symbol(__phys_reloc_hide((unsigned long)(x)))
48 49
49#define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) 50#define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET))
50 51