Fix build.
This commit is contained in:
parent
de2d9111ec
commit
d0741ed4c3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247094
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user