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
This commit is contained in:
parent
2c1c1255e4
commit
a2c0e94ccf
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user