Author: nwhitehorn
Date: Fri Sep 10 15:33:26 2010
New Revision: 212421
URL: http://svn.freebsd.org/changeset/base/212421

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

Modified:
  stable/8/sys/powerpc/aim/mmu_oea.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/powerpc/aim/mmu_oea.c
==============================================================================
--- stable/8/sys/powerpc/aim/mmu_oea.c  Fri Sep 10 15:03:56 2010        
(r212420)
+++ stable/8/sys/powerpc/aim/mmu_oea.c  Fri Sep 10 15:33:26 2010        
(r212421)
@@ -2382,8 +2382,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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to