aboutsummaryrefslogtreecommitdiff
path: root/linux/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drmP.h')
-rw-r--r--linux/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drmP.h b/linux/drmP.h
index f0a7ebf4..aac5c58a 100644
--- a/linux/drmP.h
+++ b/linux/drmP.h
@@ -78,7 +78,7 @@
/* page_to_bus for earlier kernels, not optimal in all cases */
#ifndef page_to_bus
-#define page_to_bus(page) (virt_to_bus(page_address(page)))
+#define page_to_bus(page) ((unsigned int)(virt_to_bus(page_address(page))))
#endif
/* DRM template customization defaults