x86: fix UML and -regparm=3
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:00 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:00 +0000 (13:33 +0100)
commitd50efc6c40620b2e11648cac64ebf4a824e40382
treedaf951117c86f2d4875216eee9e708a0c01c9e4b
parent3a556b26a2718e48aa2b6ce06ea4875ddcd0778e
x86: fix UML and -regparm=3

introduce the "asmregparm" calling convention: for functions
implemented in assembly with a fixed regparm input parameters
calling convention.

mark the semaphore and rwsem slowpath functions with that.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/linkage.h
include/asm-x86/rwsem.h
include/asm-x86/semaphore_32.h
include/linux/linkage.h
lib/rwsem.c