]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/boot: Add extended precision shifts to the boot wrapper.
authorTony Breeds <tony@bakeyournoodle.com>
Wed, 30 Nov 2011 21:39:21 +0000 (21:39 +0000)
committerJosh Boyer <jwboyer@gmail.com>
Fri, 9 Dec 2011 12:49:27 +0000 (07:49 -0500)
commit702b4f2af6eab5ccb75ed15f9fdb12970b3402ad
tree526f104f9451e97b3b9f111bde7568b9db2e6c5b
parent5ed4e79b42f644dcce3c32e0902d761cf91436bc
powerpc/boot: Add extended precision shifts to the boot wrapper.

The upcomming currituck patches will need to do 64-bit shifts which will
fail with undefined symbol without this patch.

I looked at linking against libgcc but we can't guarantee that libgcc
was compiled with soft-float.  Also Using ../lib/div64.S or
../kernel/misc_32.S, this will break the build as the .o's need to be
built with different flags for the bootwrapper vs the kernel.  So for
now the easyest option is to just copy code from
arch/powerpc/kernel/misc_32.S  I don't think this code changes too often ;P

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
arch/powerpc/boot/div64.S