The branch main has been updated by royger: URL: https://cgit.FreeBSD.org/src/commit/?id=a2c0e94ccfafc6a873fc6acbaccee8a14f968acf
commit a2c0e94ccfafc6a873fc6acbaccee8a14f968acf Author: Elliott Mitchell <ehem+free...@m5p.com> AuthorDate: 2021-03-01 11:44:54 +0000 Commit: Roger Pau Monné <roy...@freebsd.org> CommitDate: 2021-03-01 12:33:01 +0000 xen: remove x86-ism from Xen common code PAT_WRITE_BACK is x86-only, whereas sys/dev/xen could be shared between multiple architectures. Reviewed by: royger Differential Revision: https://reviews.freebsd.org/D28831 --- sys/dev/xen/console/xen_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/xen/console/xen_console.c b/sys/dev/xen/console/xen_console.c index 8e366bba2319..7eed30885e6b 100644 --- a/sys/dev/xen/console/xen_console.c +++ b/sys/dev/xen/console/xen_console.c @@ -273,7 +273,7 @@ static void xencons_early_init_ring(struct xencons_priv *cons) { cons->intf = pmap_mapdev_attr(ptoa(xen_get_console_mfn()), PAGE_SIZE, - PAT_WRITE_BACK); + VM_MEMATTR_WRITE_BACK); cons->evtchn = xen_get_console_evtchn(); } _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"