summaryrefslogtreecommitdiff
path: root/sys/arch/arm/xscale/pxa2x0_apm.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-03-27 16:01:38 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-03-27 16:01:38 +0000
commitd983bb3d1e042a0c2b7e5a22231889f9c0d7da08 (patch)
tree365ec294f939bcfce31222c91ee3ea4d45c86f94 /sys/arch/arm/xscale/pxa2x0_apm.h
parentd618b8a1cc45f47e9f2984d6d4a9183386334dc7 (diff)
convert arm apm lock to rwlock.
ok drahn@, todd@ tested.
Diffstat (limited to 'sys/arch/arm/xscale/pxa2x0_apm.h')
-rw-r--r--sys/arch/arm/xscale/pxa2x0_apm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_apm.h b/sys/arch/arm/xscale/pxa2x0_apm.h
index 7770c94e189..6d5fe3935f6 100644
--- a/sys/arch/arm/xscale/pxa2x0_apm.h
+++ b/sys/arch/arm/xscale/pxa2x0_apm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa2x0_apm.h,v 1.7 2005/04/13 05:40:07 uwe Exp $ */
+/* $OpenBSD: pxa2x0_apm.h,v 1.8 2009/03/27 16:01:37 oga Exp $ */
/*
* Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de>
@@ -27,7 +27,7 @@
struct pxa2x0_apm_softc {
struct device sc_dev;
struct proc *sc_thread;
- struct lock sc_lock;
+ struct rwlock sc_lock;
struct klist sc_note;
int sc_flags;
int sc_wakeon; /* enabled wakeup sources */