summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index f0a7ebf4..aac5c58a 100644
--- a/linux-core/drmP.h
+++ b/linux-core/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