commit | d524eaa2a8c08efcdf905acf07cfa770e481ca6b | [log] [tgz] |
---|---|---|
author | Vladimir Murzin <vladimir.murzin@arm.com> | Wed Nov 02 11:54:04 2016 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Tue Nov 29 09:14:48 2016 +0000 |
tree | 20f3442799a492793f52d29032b1280b9691e756 | |
parent | b11283eb89b0697984cadee6016dabbcf511af27 [diff] |
irqchip/gic-v3-its: Narrow down Entry Size when used as a divider GITS_BASER<n>'s Entry Size is much smaller than 64-bit, but when it used as a divider it forces compiler to generate __aeabi_uldivmod if build in 32-bit mode. So, casting it to int (like it is done in other places) where used as a divider would give a hint to compiler that 32-bit division can be used. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>