Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm/dist/bsd-core use round_page() for PAGE...



details:   https://anonhg.NetBSD.org/src/rev/6c06d059d224
branches:  trunk
changeset: 755153:6c06d059d224
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon May 24 08:51:53 2010 +0000

description:
use round_page() for PAGE_ALIGN().  from Onno van der Linden
<o.vd.linden%quicknet.nl@localhost> in PR#38700, though apparently i didn't
commit it way back when i closed that bug.  oops?

diffstat:

 sys/external/bsd/drm/dist/bsd-core/drmP.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r abadb36da48e -r 6c06d059d224 sys/external/bsd/drm/dist/bsd-core/drmP.h
--- a/sys/external/bsd/drm/dist/bsd-core/drmP.h Mon May 24 05:30:40 2010 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/drmP.h Mon May 24 08:51:53 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index