Fix powerpc build.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2020-08-16 22:50:59 +00:00
parent 779ad2acf1
commit beb27033aa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364290

View File

@ -929,7 +929,7 @@ vn_read_from_obj(struct vnode *vp, struct uio *uio)
* break calculation.
*/
#if defined(__powerpc__) && !defined(__powerpc64__)
vsz = object->un_pager.vnp.vnp_size;
vsz = obj->un_pager.vnp.vnp_size;
#else
vsz = atomic_load_64(&obj->un_pager.vnp.vnp_size);
#endif