Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 12:40:53 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r247094 - head/sys/dev/ppc
Message-ID:  <201302211240.r1LCerqQ016824@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Thu Feb 21 12:40:52 2013
New Revision: 247094
URL: http://svnweb.freebsd.org/changeset/base/247094

Log:
  Fix build.

Modified:
  head/sys/dev/ppc/ppc.c

Modified: head/sys/dev/ppc/ppc.c
==============================================================================
--- head/sys/dev/ppc/ppc.c	Thu Feb 21 12:13:06 2013	(r247093)
+++ head/sys/dev/ppc/ppc.c	Thu Feb 21 12:40:52 2013	(r247094)
@@ -75,7 +75,7 @@ static void ppcintr(void *arg);
 #define DEVTOSOFTC(dev) ((struct ppc_data *)device_get_softc(dev))
 
 /*
- * We use critical enter/leave for the simple config locking needed to
+ * We use critical enter/exit for the simple config locking needed to
  * detect the devices. We just want to make sure that both of our writes
  * happen without someone else also writing to those config registers. Since
  * we just do this at startup, Giant keeps multiple threads from executing,
@@ -88,7 +88,7 @@ static void ppcintr(void *arg);
  * and no other code changes these registers.
  */
 #define PPC_CONFIG_LOCK(ppc)		critical_enter()
-#define PPC_CONFIG_UNLOCK(ppc)		critical_leave()
+#define PPC_CONFIG_UNLOCK(ppc)		critical_exit()
 
 devclass_t ppc_devclass;
 const char ppc_driver_name[] = "ppc";



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