mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue