Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 16796892 authored by Jeff Mahoney's avatar Jeff Mahoney Committed by Jonathan Corbet
Browse files

vdso: don't require 64-bit math in standalone test



The use of 64-bit math on i386 causes build failures:
vdso_standalone_test_x86.c:(.text+0x101): undefined reference to `__umoddi3'
vdso_standalone_test_x86.c:(.text+0x12d): undefined reference to `__udivdi3'

Commit adb19fb6 (Documentation: add makefiles for more targets) is
now building this by default, so it's failing the kernel build entirely.

Switching the declaration from uint64_t to time_t does the right thing
and handles the x32 case automatically.

Signed-off-by: default avatarJeff Mahoney <jeffm@suse.com>
Acked-by: default avatarPeter Foley <pefoley2@pefoley.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 6808a40d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment