From: Jeremy Fitzhardinge Date: Tue, 19 Aug 2008 20:19:36 +0000 (-0700) Subject: x86/paravirt: add spin_lock_flags lock op X-Git-Tag: v2.6.28-rc1~699^2^2~30 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d3a75d6f1fcf2f33e6abbe84e1f428c3586152;p=pandora-kernel.git x86/paravirt: add spin_lock_flags lock op It is useful for a pv_lock_ops backend to know whether interrupts are enabled or not in the context a spin_lock is being called. This allows it to enable interrupts while spinning, which could be particularly helpful when spinning becomes blocking. The default implementation just calls the normal spin_lock op, ignoring the flags. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed