From: Atsushi Nemoto Date: Thu, 18 Jun 2009 23:49:09 +0000 (-0700) Subject: rtc: make rtc_update_irq callable with irqs enabled X-Git-Tag: v2.6.31-rc1~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6229bec25be4ba00f31dd26e25721cc96c22262;p=pandora-kernel.git rtc: make rtc_update_irq callable with irqs enabled The rtc_update_irq() might be called with irqs enabled, if a interrupt handler was registered without IRQF_DISABLED. Use spin_lock_irqsave/spin_unlock_irqrestore instead of spin_lock/spin_unlock. Also update kerneldoc and drivers which do extra work to follow the current interface spec, as suggestted by David Brownell. Signed-off-by: Atsushi Nemoto Cc: Alessandro Zummo Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed