svn commit: r271217 - head/sys/mips/include
Gleb Smirnoff
glebius at FreeBSD.org
Sun Sep 7 05:47:49 UTC 2014
Author: glebius
Date: Sun Sep 7 05:47:48 2014
New Revision: 271217
URL: http://svnweb.freebsd.org/changeset/base/271217
Log:
style(9)
Modified:
head/sys/mips/include/sf_buf.h
Modified: head/sys/mips/include/sf_buf.h
==============================================================================
--- head/sys/mips/include/sf_buf.h Sun Sep 7 05:44:14 2014 (r271216)
+++ head/sys/mips/include/sf_buf.h Sun Sep 7 05:47:48 2014 (r271217)
@@ -47,9 +47,7 @@ sf_buf_page(struct sf_buf *sf)
return ((vm_page_t)sf);
}
-#endif /* __mips_n64 */
-
-#ifndef __mips_n64 /* in 32 bit mode we manage our own mappings */
+#else /* !__mips_n64 */
static inline void
sf_buf_map(struct sf_buf *sf, int flags)
@@ -61,10 +59,11 @@ sf_buf_map(struct sf_buf *sf, int flags)
static inline int
sf_buf_unmap(struct sf_buf *sf)
{
+
pmap_qremove(sf->kva, 1);
return (1);
}
-#endif /* ! __mips_n64 */
+#endif /* __mips_n64 */
#endif /* !_MACHINE_SF_BUF_H_ */
More information about the svn-src-head
mailing list