]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: fix miscompilation in lshrdi3
authorJie Zhang <jie.zhang@analog.com>
Sun, 28 Jun 2009 13:19:36 +0000 (13:19 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Jul 2009 05:52:23 +0000 (01:52 -0400)
commit52514a82b0076023436fbf2d91909720dd376c05
treee5fd4a027e4c61db266a9d4bc4fd34f8b8fd0c8c
parent8e8ce499c1f459bafaca5602872fba79a92e0ac5
Blackfin: fix miscompilation in lshrdi3

The code used in the Blackfin lshrdi3 utilizes gcc constructs.  However,
the structures declared don't line up with the code gcc generates, so
under certain optimizations, we get bad code and things crap out in fun
random ways.  So rather than trying to maintain different gcc definitions
ourselves, just use the ones available in gcclib.h.

URL: http://blackfin.uclinux.org/gf/tracker/5286
Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/lib/lshrdi3.c