diff --git a/include/linux/mm.h b/include/linux/mm.h index fd85235eeed3..90ff007c8317 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -115,6 +115,14 @@ extern int mmap_rnd_compat_bits __read_mostly; #define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)(x), 0)) #endif +#ifndef __va_function +#define __va_function(x) (x) +#endif + +#ifndef __pa_function +#define __pa_function(x) __pa_symbol(x) +#endif + #ifndef page_to_virt #define page_to_virt(x) __va(PFN_PHYS(page_to_pfn(x))) #endif