summaryrefslogtreecommitdiffstats
path: root/Documentation/cli-sti-removal.txt
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-04-21 22:44:50 +0000
committerJesper Juhl <juhl@hera.kernel.org>2008-04-21 22:44:50 +0000
commitc0d1f29534f2bd6c5992831eb0f648522e9b0204 (patch)
tree563b800789c2c99527b0b681efeb78fcf938da75 /Documentation/cli-sti-removal.txt
parentdd89db1df98003fadafa711ab8bc497aaf92980a (diff)
downloadop-kernel-dev-c0d1f29534f2bd6c5992831eb0f648522e9b0204.zip
op-kernel-dev-c0d1f29534f2bd6c5992831eb0f648522e9b0204.tar.gz
DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Diffstat (limited to 'Documentation/cli-sti-removal.txt')
-rw-r--r--Documentation/cli-sti-removal.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/cli-sti-removal.txt b/Documentation/cli-sti-removal.txt
index 0223c9d..60932b0 100644
--- a/Documentation/cli-sti-removal.txt
+++ b/Documentation/cli-sti-removal.txt
@@ -43,7 +43,7 @@ would execute while the cli()-ed section is executing.
but from now on a more direct method of locking has to be used:
- spinlock_t driver_lock = SPIN_LOCK_UNLOCKED;
+ DEFINE_SPINLOCK(driver_lock);
struct driver_data;
irq_handler (...)
OpenPOWER on IntegriCloud