Date: Sun, 7 Sep 2014 05:47:49 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271217 - head/sys/mips/include Message-ID: <201409070547.s875ln5V065800@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409070547.s875ln5V065800>