summaryrefslogtreecommitdiffstats
path: root/include/asm-frv/page.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2006-01-03 18:18:01 +1100
committerDave Airlie <airlied@linux.ie>2006-01-03 18:18:01 +1100
commit97f2aab6698f3ab2552c41c1024a65ffd0763a6d (patch)
treebb6e3b2949459f54f884c710fc74d40eef00d834 /include/asm-frv/page.h
parentd985c1088146607532093d9eaaaf99758f6a4d21 (diff)
parent88026842b0a760145aa71d69e74fbc9ec118ca44 (diff)
downloadkernel-crypto-97f2aab6698f3ab2552c41c1024a65ffd0763a6d.tar.gz
kernel-crypto-97f2aab6698f3ab2552c41c1024a65ffd0763a6d.tar.xz
kernel-crypto-97f2aab6698f3ab2552c41c1024a65ffd0763a6d.zip
drm: merge in Linus mainline
Diffstat (limited to 'include/asm-frv/page.h')
-rw-r--r--include/asm-frv/page.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-frv/page.h b/include/asm-frv/page.h
index 4feba567e7f..b8221b611b5 100644
--- a/include/asm-frv/page.h
+++ b/include/asm-frv/page.h
@@ -47,8 +47,8 @@ typedef struct { unsigned long pgprot; } pgprot_t;
#define devmem_is_allowed(pfn) 1
-#define __pa(vaddr) virt_to_phys((void *) vaddr)
-#define __va(paddr) phys_to_virt((unsigned long) paddr)
+#define __pa(vaddr) virt_to_phys((void *) (unsigned long) (vaddr))
+#define __va(paddr) phys_to_virt((unsigned long) (paddr))
#define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)