From owner-svn-src-head@FreeBSD.ORG Sun Sep 7 05:47:49 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56E92631; Sun, 7 Sep 2014 05:47:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4345A13AF; Sun, 7 Sep 2014 05:47:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s875lnrE065801; Sun, 7 Sep 2014 05:47:49 GMT (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s875ln5V065800; Sun, 7 Sep 2014 05:47:49 GMT (envelope-from glebius@FreeBSD.org) Message-Id: <201409070547.s875ln5V065800@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: glebius set sender to glebius@FreeBSD.org using -f From: Gleb Smirnoff Date: Sun, 7 Sep 2014 05:47:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271217 - head/sys/mips/include X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2014 05:47:49 -0000 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_ */