use round_page() for PAGE_ALIGN(). from Onno van der Linden

<o.vd.linden@quicknet.nl> in PR#38700, though apparently i didn't
commit it way back when i closed that bug.  oops?
This commit is contained in:
mrg 2010-05-24 08:51:53 +00:00
parent 7c66f95e1b
commit 280989eb06
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ enum {
#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