On 05.10.17 16:14, Heinrich Schuchardt wrote:
We should use the existing 64bit division instead of
reinventing the wheel.
Cc: Alexander Graf
Signed-off-by: Heinrich Schuchardt
Awesome, this version actually even *reduces* code size :).
Alex
___
We should use the existing 64bit division instead of
reinventing the wheel.
Cc: Alexander Graf
Signed-off-by: Heinrich Schuchardt
---
v2
replace efi_div10 by do_div as suggested by Alex
v1
replace efi_div10 by div_u64
---
lib/efi_loader/efi_boottime.c | 36 ++
2 matches
Mail list logo