aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorShyam Sundar S K <[email protected]>2021-07-16 21:08:02 +0530
committerHans de Goede <[email protected]>2021-07-17 12:16:34 +0200
commit7f5231b114da76bfd5d0fc685d5cf408d1bbfca7 (patch)
tree50ade171670e60a9d4431dc28b173b0a59df483a /net/unix/af_unix.c
parent95edbbf78c3bdbd1daa921dd4a2e61c751e469ba (diff)
platform/x86: amd-pmc: Fix undefined reference to __udivdi3
It was reported that on i386 config ------ on i386: ld: drivers/platform/x86/amd-pmc.o: in function `s0ix_stats_show': amd-pmc.c:(.text+0x100): undefined reference to `__udivdi3' ------- The reason for this is that 64-bit integer division is not supported on 32-bit architecture. Use do_div macro to fix this. Fixes: b9a4fa6978be ("platform/x86: amd-pmc: Add support for logging s0ix counters") Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Shyam Sundar S K <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> # and build-tested Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions