From: Richard Weinberger Date: Mon, 23 May 2011 20:51:33 +0000 (+0200) Subject: um: Use RWSEM_GENERIC_SPINLOCK on x86 X-Git-Tag: v2.6.39.1~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff06554f5afc8ff13b55fa3d4a13a18b2683e05d;p=pandora-kernel.git um: Use RWSEM_GENERIC_SPINLOCK on x86 commit 3a3679078aed2c451ebc32836bbd3b8219a65e01 upstream. Commit d12337 (rwsem: Remove redundant asmregparm annotation) broke rwsem on UML. As we cannot compile UML with -mregparm=3 and keeping asmregparm only for UML is inadequate the easiest solution is using RWSEM_GENERIC_SPINLOCK. Thanks to Thomas Gleixner for the idea. Reported-by: Toralf Förster Tested-by: Toralf Förster Signed-off-by: Richard Weinberger Cc: user-mode-linux-devel@lists.sourceforge.net Link: http://lkml.kernel.org/r/%3C1306183893-26655-1-git-send-email-richard%40nod.at%3E Signed-off-by: Thomas Gleixner Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed