aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-um/page.h
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-08-16 11:29:57 -0700
committerTony Luck <tony.luck@intel.com>2005-08-16 11:29:57 -0700
commitf7001e8f1fa5369ee24f58255726a04a2019e4bd (patch)
tree1bbdd233ad0cf2e0adb4eb04f22b7bfa59a43494 /include/asm-um/page.h
parent85f265d887d2389376f1caa191e9682085feb76e (diff)
parentcf59001235c5a36f3e3701bd593a78cf955a4242 (diff)
downloadkernel_samsung_smdk4412-f7001e8f1fa5369ee24f58255726a04a2019e4bd.zip
kernel_samsung_smdk4412-f7001e8f1fa5369ee24f58255726a04a2019e4bd.tar.gz
kernel_samsung_smdk4412-f7001e8f1fa5369ee24f58255726a04a2019e4bd.tar.bz2
Auto-update from upstream
Diffstat (limited to 'include/asm-um/page.h')
-rw-r--r--include/asm-um/page.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-um/page.h b/include/asm-um/page.h
index 5afee8a..f58aeda 100644
--- a/include/asm-um/page.h
+++ b/include/asm-um/page.h
@@ -104,8 +104,8 @@ extern void *to_virt(unsigned long phys);
* casting is the right thing, but 32-bit UML can't have 64-bit virtual
* addresses
*/
-#define __pa(virt) to_phys((void *) (unsigned long) virt)
-#define __va(phys) to_virt((unsigned long) phys)
+#define __pa(virt) to_phys((void *) (unsigned long) (virt))
+#define __va(phys) to_virt((unsigned long) (phys))
#define page_to_pfn(page) ((page) - mem_map)
#define pfn_to_page(pfn) (mem_map + (pfn))