]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i386: Remove strrchr assembler implementation
authorAndi Kleen <ak@suse.de>
Wed, 17 Oct 2007 16:04:38 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:16:23 +0000 (20:16 +0200)
commit61d08a9ea3d5fd680213aa7a15fcda69ce11987d
tree0ea4baa5fb8dca8f9ad2b9e8421b7e102620c25a
parent883001f98290ca40b32e2c1872f22600f8dfc968
i386: Remove strrchr assembler implementation

The constraints in the inline assembler implementation of i386
strrchr() were incorrect and break the build with recent gcc 4.3.
Since there are only very few callers of strrchr() and none of them
are performance relevant just remove the assembler implementation
and use the C fallback instead.

[ tglx: arch/x86 adaptation ]

Cc: rguenther@suse.de
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/lib/string_32.c
include/asm-x86/string_32.h