Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2010 15:33:26 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r212421 - stable/8/sys/powerpc/aim
Message-ID:  <201009101533.o8AFXQXW056985@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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