From owner-svn-src-head@FreeBSD.ORG Fri Jul 12 15:56:30 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B36E68F7; Fri, 12 Jul 2013 15:56:30 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id A5CEE1D77; Fri, 12 Jul 2013 15:56:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6CFuUfC057123; Fri, 12 Jul 2013 15:56:30 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6CFuU6i057122; Fri, 12 Jul 2013 15:56:30 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201307121556.r6CFuU6i057122@svn.freebsd.org> From: Nathan Whitehorn Date: Fri, 12 Jul 2013 15:56:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253272 - head/sys/powerpc/aim 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.14 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: Fri, 12 Jul 2013 15:56:30 -0000 Author: nwhitehorn Date: Fri Jul 12 15:56:30 2013 New Revision: 253272 URL: http://svnweb.freebsd.org/changeset/base/253272 Log: Fix check: bitwise and has only one &. MFC after: 1 week Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mmu_oea64.c ============================================================================== --- head/sys/powerpc/aim/mmu_oea64.c Fri Jul 12 15:29:41 2013 (r253271) +++ head/sys/powerpc/aim/mmu_oea64.c Fri Jul 12 15:56:30 2013 (r253272) @@ -1978,7 +1978,7 @@ moea64_pvo_protect(mmu_t mmu, pmap_t pm * removed write access. */ if ((pvo->pvo_vaddr & PVO_MANAGED) == PVO_MANAGED && - (oldlo & LPTE_PP) != LPTE_BR && !(prot && VM_PROT_WRITE)) { + (oldlo & LPTE_PP) != LPTE_BR && !(prot & VM_PROT_WRITE)) { if (pg != NULL) { if (pvo->pvo_pte.lpte.pte_lo & LPTE_CHG) vm_page_dirty(pg);