mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-08 01:20:40 +00:00
Fix buildworld
Change the pv_tracked flag to an int, just in case userspace decides to include this file and defines BOOKE. Guard this block from unintentional inclusion with ifdef BOOKE. Reported by: emaste
This commit is contained in:
parent
44f0c15c6c
commit
fcef00c336
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308817
|
@ -179,7 +179,7 @@ void slb_free_tree(pmap_t pm);
|
|||
struct slb **slb_alloc_user_cache(void);
|
||||
void slb_free_user_cache(struct slb **);
|
||||
|
||||
#else
|
||||
#elif defined(BOOKE)
|
||||
|
||||
struct pmap {
|
||||
struct mtx pm_mtx; /* pmap mutex */
|
||||
|
@ -204,7 +204,7 @@ typedef struct pv_entry *pv_entry_t;
|
|||
|
||||
struct md_page {
|
||||
TAILQ_HEAD(, pv_entry) pv_list;
|
||||
bool pv_tracked;
|
||||
int pv_tracked;
|
||||
};
|
||||
|
||||
#define pmap_page_get_memattr(m) VM_MEMATTR_DEFAULT
|
||||
|
|
Loading…
Reference in a new issue