diff options
author | Richard Weinberger <richard@nod.at> | 2011-05-23 22:51:33 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2013-01-16 16:45:09 -0500 |
commit | 2e2f176b4ee36570a247e13d6de4314ab96def0b (patch) | |
tree | 0b499475165d187c46549478a981e7b6804294a4 /arch/x86/include/asm/linkage.h | |
parent | 0b6a58d3ea8df7608d690819176ef195ec428f6b (diff) |
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 <toralf.foerster@gmx.de>
Tested-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
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 <tglx@linutronix.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/x86/include/asm/linkage.h')
0 files changed, 0 insertions, 0 deletions