diff options
author | Elliott Mitchell <ehem+freebsd@m5p.com> | 2021-03-01 11:44:54 +0000 |
---|---|---|
committer | Roger Pau Monné <royger@FreeBSD.org> | 2021-03-01 12:33:01 +0000 |
commit | a2c0e94ccfafc6a873fc6acbaccee8a14f968acf (patch) | |
tree | f4bea5d1df5bf589438206afd87481749c68d089 | |
parent | 2c1c1255e41ac3fecd79f9f704c934642f34fd60 (diff) | |
download | src-a2c0e94ccfafc6a873fc6acbaccee8a14f968acf.tar.gz src-a2c0e94ccfafc6a873fc6acbaccee8a14f968acf.zip |
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
-rw-r--r-- | sys/dev/xen/console/xen_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |