Date: Fri, 18 Nov 2016 22:59:33 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r308817 - head/sys/powerpc/include Message-ID: <201611182259.uAIMxXbh028619@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Fri Nov 18 22:59:33 2016 New Revision: 308817 URL: https://svnweb.freebsd.org/changeset/base/308817 Log: 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 Modified: head/sys/powerpc/include/pmap.h Modified: head/sys/powerpc/include/pmap.h ============================================================================== --- head/sys/powerpc/include/pmap.h Fri Nov 18 22:58:47 2016 (r308816) +++ head/sys/powerpc/include/pmap.h Fri Nov 18 22:59:33 2016 (r308817) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611182259.uAIMxXbh028619>