]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/cli-sti-removal.txt
lguest: Use GSO/IFF_VNET_HDR extensions on tun/tap
[linux-2.6-omap-h63xx.git] / Documentation / cli-sti-removal.txt
index 0223c9d203319b9869802c10dd50dd86d7ee1565..60932b02fcb333a8c4bd60e4ac0e8296f33c8784 100644 (file)
@@ -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 (...)