|
@@ -187,6 +187,7 @@ static inline unsigned long __phys_to_virt(unsigned long x)
|
|
#define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET)
|
|
#define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET)
|
|
#endif
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
+#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
#ifndef PHYS_OFFSET
|
|
#ifndef PHYS_OFFSET
|
|
#ifdef PLAT_PHYS_OFFSET
|
|
#ifdef PLAT_PHYS_OFFSET
|
|
@@ -196,6 +197,8 @@ static inline unsigned long __phys_to_virt(unsigned long x)
|
|
#endif
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#ifndef __ASSEMBLY__
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* PFNs are used to describe any physical page; this means
|
|
* PFNs are used to describe any physical page; this means
|
|
* PFN 0 == physical address 0.
|
|
* PFN 0 == physical address 0.
|