]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf01ebc9e289a78f3c1b92f1cdf8d82b97c7c001
treedaf951117c86f2d4875216eee9e708a0c01c9e4b
parent0d558611dc7a38d5393effae6d2f9a57da01636b
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