Module Name: src Committed By: jdolecek Date: Fri Apr 10 21:03:21 UTC 2020
Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: gnttab_get_status_frames frame_list is array if uint64_t values, not u_long like gnttab_setup_table, fix to use uint64_t fixes compilation on i386 with XEN3PAE_DOM[0U], pointed out by kre@ To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/xen/xen/xengnt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/xen/xen/xengnt.c diff -u src/sys/arch/xen/xen/xengnt.c:1.32 src/sys/arch/xen/xen/xengnt.c:1.33 --- src/sys/arch/xen/xen/xengnt.c:1.32 Fri Apr 10 08:35:52 2020 +++ src/sys/arch/xen/xen/xengnt.c Fri Apr 10 21:03:20 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: xengnt.c,v 1.32 2020/04/10 08:35:52 jdolecek Exp $ */ +/* $NetBSD: xengnt.c,v 1.33 2020/04/10 21:03:20 jdolecek Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: xengnt.c,v 1.32 2020/04/10 08:35:52 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xengnt.c,v 1.33 2020/04/10 21:03:20 jdolecek Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -186,7 +186,7 @@ static int xengnt_map_status(void) { gnttab_get_status_frames_t getstatus; - u_long *pages; + uint64_t *pages; size_t sz; KASSERT(mutex_owned(&grant_lock));