aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/div64.S
Commit message (Collapse)AuthorAge
* powerpc/boot: Add extended precision shifts to the boot wrapper.Tony Breeds2011-12-09
| | | | | | | | | | | | | | | 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>
* powerpc: Fix div64 in bootloaderBenjamin Herrenschmidt2010-11-17
| | | | | | | | The code is missing a fix that went into the main kernel variant (we should try to share that code again at some stage) Reported-by: Albert Cahalan <acahalan@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* powerpc: Move ppc64 boot wrapper code over to arch/powerpcPaul Mackerras2005-11-15
This also extends the code to handle 32-bit ELF vmlinux files as well as 64-bit ones. This is sufficient for booting on new-world 32-bit powermacs (i.e. all recent machines). Signed-off-by: Paul Mackerras <paulus@samba.org>