aboutsummaryrefslogtreecommitdiff
path: root/Documentation/cli-sti-removal.txt
diff options
context:
space:
mode:
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 0223c9d2033..60932b02fcb 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 (...)