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)
commite32a03290c72773c304ffeebffed0a63c0a672ae
tree526f104f9451e97b3b9f111bde7568b9db2e6c5b
parentca899859f14e510854c5c8908d3ffdfcd34b16de
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