• Marek Vasut's avatar
    arm: lib: Import __do_div64 from Linux · 7b9f9c5d
    Marek Vasut authored
    Import __do_div64 from Linux 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326
    on arm32. This function is for some toolchains, which generate _udivmoddi4()
    for 64 bit division.
    
    Since we do not support stack unwinding, instead of importing the whole
    asm/unwind.h and all the baggage, this patch defines empty UNWIND() macro.
    
    This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
    which is necessary for correct build of these files both in ARM and
    Thumb mode, just like Linux does.
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Albert Aribaud <albert.u.boot@aribaud.net>
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Tom Rini <trini@konsulko.com>
    Reviewed-by: default avatarTom Rini <trini@konsulko.com>
    7b9f9c5d
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...