svn commit: r342775 - head/sys/i386/include
Konstantin Belousov
kib at FreeBSD.org
Fri Jan 4 19:10:47 UTC 2019
Author: kib
Date: Fri Jan 4 19:10:46 2019
New Revision: 342775
URL: https://svnweb.freebsd.org/changeset/base/342775
Log:
Fix i386 LINT build after r342769.
It seems that libkern/mcount.c is the only consumer of vm/pmap.h that
does not include machine/atomic.h. Make it work by bringing
machine/atomic.h when pmap.h is used for kernel non-asm .c file.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/i386/include/pmap.h
Modified: head/sys/i386/include/pmap.h
==============================================================================
--- head/sys/i386/include/pmap.h Fri Jan 4 18:38:27 2019 (r342774)
+++ head/sys/i386/include/pmap.h Fri Jan 4 19:10:46 2019 (r342775)
@@ -194,6 +194,8 @@ typedef uint32_t pt_entry_t;
* Address of current address space page table maps and directories.
*/
#ifdef _KERNEL
+#include <machine/atomic.h>
+
extern pt_entry_t PTmap[];
extern pd_entry_t PTD[];
extern pd_entry_t PTDpde[];
More information about the svn-src-all
mailing list