Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 05:29:59 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211861 - head/sys/powerpc/aim
Message-ID:  <201008270529.o7R5TxD9064798@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Fri Aug 27 05:29:59 2010
New Revision: 211861
URL: http://svn.freebsd.org/changeset/base/211861

Log:
  pmap_mapdev() does not appear to actually need GIANT to be held here,
  and asserting that is held breaks drm.
  
  MFC after:	2 weeks

Modified:
  head/sys/powerpc/aim/mmu_oea.c

Modified: head/sys/powerpc/aim/mmu_oea.c
==============================================================================
--- head/sys/powerpc/aim/mmu_oea.c	Fri Aug 27 05:20:22 2010	(r211860)
+++ head/sys/powerpc/aim/mmu_oea.c	Fri Aug 27 05:29:59 2010	(r211861)
@@ -2436,8 +2436,6 @@ moea_mapdev(mmu_t mmu, vm_offset_t pa, v
 	offset = pa & PAGE_MASK;
 	size = roundup(offset + size, PAGE_SIZE);
 	
-	GIANT_REQUIRED;
-
 	/*
 	 * If the physical address lies within a valid BAT table entry,
 	 * return the 1:1 mapping. This currently doesn't work



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008270529.o7R5TxD9064798>