mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
Fix build
Previous commit to this file was not as tested as we thought. This one actually builds (well, except for the part where flex doesn't like et_lex.lex.l at the moment). Change-Id: I11d918adc50bb387c022d90cb0877a6a667e8252 Reviewed-on: http://gerrit.openafs.org/2362 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
2c7a19b092
commit
4e87cb5c92
@ -259,10 +259,10 @@ static __inline void ma_vm_page_unlock(vm_page_t m) {};
|
||||
#endif
|
||||
|
||||
#if defined(AFS_FBSD70_ENV)
|
||||
#define MA_PCPU_INC(c) (PCPU_INC(c))
|
||||
#define MA_PCPU_ADD(c, n) (PCPU_ADD(c, n))
|
||||
#define MA_PCPU_INC(c) PCPU_INC(c)
|
||||
#define MA_PCPU_ADD(c, n) PCPU_ADD(c, n)
|
||||
#else
|
||||
#define MA_PCPU_INC(c) (PCPU_LAZY_INC(c))
|
||||
#define MA_PCPU_INC(c) PCPU_LAZY_INC(c)
|
||||
#define MA_PCPU_ADD(c, n) (c) += (n)
|
||||
#endif
|
||||
|
||||
@ -807,7 +807,7 @@ afs_vop_getpages(struct vop_getpages_args *ap)
|
||||
|
||||
kva = (vm_offset_t) bp->b_data;
|
||||
pmap_qenter(kva, ap->a_m, npages);
|
||||
MA_PCPU_INC(cnt_v.vnodein);
|
||||
MA_PCPU_INC(cnt.v_vnodein);
|
||||
MA_PCPU_ADD(cnt.v_vnodepgsin, npages);
|
||||
|
||||
iov.iov_base = (caddr_t) kva;
|
||||
|
Loading…
x
Reference in New Issue
Block a user