summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/arm/include/asm/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/include/asm/memory.h')
-rw-r--r--ANDROID_3.4.5/arch/arm/include/asm/memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/arch/arm/include/asm/memory.h b/ANDROID_3.4.5/arch/arm/include/asm/memory.h
index fcb57574..8fb66dc9 100644
--- a/ANDROID_3.4.5/arch/arm/include/asm/memory.h
+++ b/ANDROID_3.4.5/arch/arm/include/asm/memory.h
@@ -227,6 +227,7 @@ static inline void *phys_to_virt(phys_addr_t x)
*/
#define __pa(x) __virt_to_phys((unsigned long)(x))
#define __va(x) ((void *)__phys_to_virt((unsigned long)(x)))
+#define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)(x),0))/*add by roger*/
#define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
/*