mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 17:43:28 +00:00
remove redundant PT_SET_MA declaration
MFC after: 1 month
This commit is contained in:
parent
ff52952636
commit
d1e363dd51
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181864
@ -180,7 +180,6 @@ vptetomachpte(vm_paddr_t *pte)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef PAE
|
||||
#define PT_SET_MA(_va, _ma) \
|
||||
do { \
|
||||
PANIC_IF(HYPERVISOR_update_va_mapping(((unsigned long)(_va)),\
|
||||
@ -188,17 +187,6 @@ do { \
|
||||
UVMF_INVLPG| UVMF_LOCAL) < 0); \
|
||||
} while (/*CONSTCOND*/0)
|
||||
|
||||
#else
|
||||
|
||||
#define PT_SET_MA(_va, _ma) \
|
||||
do { \
|
||||
PANIC_IF(HYPERVISOR_update_va_mapping(((unsigned long)(_va)),\
|
||||
(_ma), \
|
||||
UVMF_INVLPG| UVMF_LOCAL) < 0); \
|
||||
} while (/*CONSTCOND*/0)
|
||||
|
||||
#endif
|
||||
|
||||
#define PT_UPDATES_FLUSH() do { \
|
||||
xen_flush_queue(); \
|
||||
} while (/*CONSTCOND*/0)
|
||||
|
Loading…
Reference in New Issue
Block a user