summaryrefslogtreecommitdiffstats
path: root/kernel/acct.c
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-07-13 09:27:31 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-14 08:41:59 -0700
commit6f5c8f8317d37045ffc7ea21dab8319a53c1ae57 (patch)
tree21bf19658f1997346780e5ed5fd72093f2c57107 /kernel/acct.c
parent69f11c9936ba310ed3620072983da6ed95e86cc0 (diff)
downloadop-kernel-dev-6f5c8f8317d37045ffc7ea21dab8319a53c1ae57.zip
op-kernel-dev-6f5c8f8317d37045ffc7ea21dab8319a53c1ae57.tar.gz
tg3: Create critical section around GPIO toggling
The code that performs the power source switching will need to consider the status of the other devices before making any switches. The status updates and power source switching will need to be an atomic operation, so a critical section will be needed. This patch establishes the critical section through a CPMU mutex. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud