summaryrefslogtreecommitdiffstats
path: root/Documentation/mips
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-05-14 22:39:06 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-06-25 01:13:36 +0200
commit9393996761e23280f259d706133c8f0cd139fd58 (patch)
treedd7ed7e35fe64cd5b51222b67e3750c14a8a307a /Documentation/mips
parent99c14e4df6144bca12dcac657266a7b8216aaa16 (diff)
downloadlinux-9393996761e23280f259d706133c8f0cd139fd58.tar.bz2
rtc: mt6397: fix build on some 32bits platforms
On some !ARM 32bits platforms, the following compilation error happens because of the division on a 64bits value in mtk_rtc_read_time(): drivers/built-in.o: In function `mtk_rtc_read_time': rtc-mt6397.c:(.text+0x265d13f): undefined reference to `__divdi3' rtc-mt6397.c:(.text+0x265d150): undefined reference to `__moddi3' Use div_s64() as done in rtc_time64_to_tm() to solve that. Reported-by: kbuild test robot <fengguang.wu@intel.com> Acked-by: Eddie Huang <eddie.huang@mediatek.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'Documentation/mips')
0 files changed, 0 insertions, 0 deletions