|
@@ -44,7 +44,8 @@ static inline void copy_user_page(void *to, void *from, unsigned long vaddr,
|
|
|
* case properly. Once all supported versions of gcc understand it, we can
|
|
|
* remove this Voodoo magic stuff. (i.e. once gcc3.x is deprecated)
|
|
|
*/
|
|
|
-#define __pa_symbol(x) __pa(__phys_reloc_hide((unsigned long)(x)))
|
|
|
+#define __pa_symbol(x) \
|
|
|
+ __phys_addr_symbol(__phys_reloc_hide((unsigned long)(x)))
|
|
|
|
|
|
#define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET))
|
|
|
|