Re: [PATCH 4/4] Add 32 bit VDSO time support for 64 bit kernel

2014-02-01 Thread H. Peter Anvin
On 02/01/2014 07:32 AM, stef...@seibold.net wrote: > > This kind of type hacking could be prevent in the future by doing a call to > the > 64 bit code by the following sequence: > > - Compile the arch/x86/vdso/vclock_gettime.c as 64 bit, but only generate > the assembler output. > - Next compi

[PATCH 4/4] Add 32 bit VDSO time support for 64 bit kernel

2014-02-01 Thread stefani
From: Stefani Seibold This patch add the VDSO time support for the IA32 Emulation Layer. Due the nature of the kernel headers and the LP64 compiler where the size of a long and a pointer differs against a 32 bit compiler, there is a lot of type hacking necessary. This kind of type hacking could