summaryrefslogtreecommitdiff
path: root/linux/drmP.h
diff options
context:
space:
mode:
authorJeff Hartmann <jhartmann@valinux.com>2001-08-14 00:35:07 +0000
committerJeff Hartmann <jhartmann@valinux.com>2001-08-14 00:35:07 +0000
commit8aaf82d45c406220d5f18168e4350827a9e038e2 (patch)
treef672aa4462466f86ffb896d085c79b718c6e5f03 /linux/drmP.h
parentaa09e3611490d6a2f12f211c3c834f1237126313 (diff)
A few warning fixes when actually building under 2.4.9-pre2 + some
reformating
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