svn commit: r211861 - head/sys/powerpc/aim

Nathan Whitehorn nwhitehorn at FreeBSD.org
Fri Aug 27 05:29:59 UTC 2010


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


More information about the svn-src-all mailing list