diff options
author | Jason Liu <r64343@freescale.com> | 2013-04-03 13:45:39 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2013-04-03 18:24:21 +0800 |
commit | 790715dfbc95afe64521f9d7ef60ef85c4a33849 (patch) | |
tree | 1048f750e5267c5e90caf63d7cab6bbbd8710010 /arch/arm/mach-mx5/clock.c | |
parent | e71d3d328a886113c7edbd52573ea20a79ac613f (diff) |
ENGR00255518 ipu/ipu3: using the kernel common help function div_u64
We don't need invent the wheel to implement the wrap for the _do_div,
we can use the kernel common helper function for the u64 divide with
div_u64() function call
This also fix the build break when CONFIG_DEBUG_SECTION_MISMATCH=y with
GCC4.6.3 cross-compile toolchain.
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `_do_div.part.1':
clkdev.c:(.text+0x15c23c): undefined reference to `__aeabi_uldivmod'
clkdev.c:(.text+0x15c25c): undefined reference to `__aeabi_uldivmod'
clkdev.c:(.text+0x15c2bc): undefined reference to `__aeabi_uldivmod'
clkdev.c:(.text+0x15c3ac): undefined reference to `__aeabi_uldivmod'
clkdev.c:(.text+0x15c3d0): undefined reference to `__aeabi_uldivmod'
This issue is caused by the wrongly optimized code produced by GCC,
See the bug report here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783
The similar build break issue report at:
http://lists.infradead.org/pipermail/linux-mtd/2012-May/041677.html
Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx5/clock.c')
0 files changed, 0 insertions, 0 deletions