<div dir="ltr"><div><div>hi,<br><br></div>yes, I have fixed both parts of the commit "37c975545ec63320789962bf307f00<wbr>0f08fabd48". Actually the changes under "LINUX_2.5 {" was not needed in my case cause those symbols were not there in base kernel.<br><br></div><div>These changes seems to be not enough.<br></div><div><br>Well this is a production env & hence moving to newer version will be little late.<br><br></div><div>Thanks<br></div><div>SB<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 14, 2017 at 3:19 AM, <span dir="ltr"><<a href="mailto:Valdis.Kletnieks@vt.edu" target="_blank">Valdis.Kletnieks@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, 14 Jan 2017 03:04:48 +0530, Sharath said:<br>
<br>
> I am trying to get __vdso_gettimeofday() for 32bit applications on a 64bit<br>
> kernel. The changes I have tried is below, with these changes I am not able<br>
> to get this working. what am I missing.? on the same kernel<br>
> __vdso_gettimeofday for 64bit apps is able to use it.<br>
><br>
> My kernel version is :- 3.4.91<br>
<br>
You might want to do a 'git show 37c975545ec63320789962bf307f00<wbr>0f08fabd48'<br>
and make sure you include *both* parts of the patch. You only did half the job.<br>
<br>
Also, you may want to upgrade to a kernel that's not a half-decade old, so<br>
you don't have to keep re-fixing stuff that was fixed 5 years ago.<br>
<br>
commit 37c975545ec63320789962bf307f00<wbr>0f08fabd48<br>
Author: Andy Lutomirski <<a href="mailto:luto@amacapital.net">luto@amacapital.net</a>><br>
Date: Sat Mar 29 13:15:35 2014 -0700<br>
<br>
x86, vdso: Fix the symbol versions on the 32-bit vDSO<br>
<br>
The new symbols provide the same API as the 64-bit variants, so they<br>
should have the same symbol version name. This can't break<br>
userspace, since these symbols are new for 32-bit Linux.<br>
<br>
<br>
</blockquote></div><br></div>