Module Name: src
Committed By: mrg
Date: Mon May 24 08:51:53 UTC 2010
Modified Files:
src/sys/external/bsd/drm/dist/bsd-core: drmP.h
Log Message:
use round_page() for PAGE_ALIGN(). from Onno van der Linden
<[email protected]> in PR#38700, though apparently i didn't
commit it way back when i closed that bug. oops?
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/external/bsd/drm/dist/bsd-core/drmP.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm/dist/bsd-core/drmP.h
diff -u src/sys/external/bsd/drm/dist/bsd-core/drmP.h:1.18 src/sys/external/bsd/drm/dist/bsd-core/drmP.h:1.19
--- src/sys/external/bsd/drm/dist/bsd-core/drmP.h:1.18 Mon May 24 01:39:06 2010
+++ src/sys/external/bsd/drm/dist/bsd-core/drmP.h Mon May 24 08:51:53 2010
@@ -294,7 +294,7 @@
#elif defined(__NetBSD__)
-#define PAGE_ALIGN(addr) ALIGN(addr)
+#define PAGE_ALIGN(addr) round_page(addr)
#define DRM_SUSER(p) (kauth_cred_getsvuid((p)->p_cred) == 0)
#define DRM_AGP_FIND_DEVICE() agp_find_device(0)
#ifdef MTRR_TYPE_WC