aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGravatar Mark Fasheh <mfasheh@suse.com> 2008-04-10 13:55:21 -0700
committerGravatar Jonathan Corbet <corbet@lwn.net> 2008-04-11 13:21:14 -0600
commit14dadf1d5eb5bea2dd115852cfee880505c1c169 (patch)
tree03a1060a8191483dbd93964a6909f5c103d75ce4 /virt
parentMove sched-rt-group.txt to scheduler/ (diff)
downloadlinux-14dadf1d5eb5bea2dd115852cfee880505c1c169.tar.gz
linux-14dadf1d5eb5bea2dd115852cfee880505c1c169.tar.bz2
linux-14dadf1d5eb5bea2dd115852cfee880505c1c169.zip
Add additional examples in Documentation/spinlocks.txt
Checkpatch will throw an error if code doesn't use the correct initializers for static spinlocks: ERROR: Use of SPIN_LOCK_UNLOCKED is deprecated: see Documentation/spinlocks.txt This is fine, but Documentation/spinlocks.txt isn't very clear on how to _use_ the new initializers for static variables. To save people time in the future, I added two small examples of how to fix old-style static initializers to be more lockdep friendly. Signed-off-by: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions