summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-09-07 05:47:48 +0000
committerglebius <glebius@FreeBSD.org>2014-09-07 05:47:48 +0000
commitc556452a75c4dc9805417aa4f484c9ff2e0f08ee (patch)
tree4d835ae8fb10d68c162bea854dfa0c5e37cf69ef
parentbd6b462b17463bbec1c8401d1b4a29dc8332c04b (diff)
downloadFreeBSD-src-c556452a75c4dc9805417aa4f484c9ff2e0f08ee.zip
FreeBSD-src-c556452a75c4dc9805417aa4f484c9ff2e0f08ee.tar.gz
style(9)
-rw-r--r--sys/mips/include/sf_buf.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/mips/include/sf_buf.h b/sys/mips/include/sf_buf.h
index 01ecd23..d61bc91 100644
--- a/sys/mips/include/sf_buf.h
+++ b/sys/mips/include/sf_buf.h
@@ -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_ */
OpenPOWER on IntegriCloud