mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
LinuxKPI: Cast offset_in_page() parameter to unsigned long
to reduce number of patches in drm-kmod
Reviewed by: hselasky
Differential revision: https://reviews.freebsd.org/D32093
(cherry picked from commit 37eba5b77a)
This commit is contained in:
parent
0ed3a19a38
commit
8cf87dd59f
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ vma_pages(struct vm_area_struct *vma)
|
|||
return ((vma->vm_end - vma->vm_start) >> PAGE_SHIFT);
|
||||
}
|
||||
|
||||
#define offset_in_page(off) ((off) & (PAGE_SIZE - 1))
|
||||
#define offset_in_page(off) ((unsigned long)(off) & (PAGE_SIZE - 1))
|
||||
|
||||
static inline void
|
||||
set_page_dirty(struct vm_page *page)
|
||||
|
|
|
|||
Loading…
Reference in a new issue