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:
parent
7c66f95e1b
commit
280989eb06
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue