From: Paul Walmsley Date: Wed, 14 May 2008 18:16:46 +0000 (-0600) Subject: mach-omap2/powerdomain.c: convert rwsem to rwlock X-Git-Tag: v2.6.26-omap1~123^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65d548940ec279b469b1802e0e82694d1d3c7aaa;p=pandora-kernel.git mach-omap2/powerdomain.c: convert rwsem to rwlock The generic rwsem implementation of down_read() and down_write() does not save and restore interrupt state. This causes powerdomain code to inadvertently enable interrupts early in the boot process, causing init/main.c to complain. This patch converts powerdomain locking to r-w spinlocks instead. I'm also curious to know if this fixes the BeagleBoard boot problem. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed