Re: [PATCH 1/4] Add clock_gettime_ns syscall

From: Arun Sharma
Date: Wed Dec 28 2011 - 19:19:50 EST


On 12/28/11 3:42 PM, Andy Lutomirski wrote:

Something like:

u64 __vdso_clock_gettime_ns(clock_t clockid, struct timens_extra *extra)
{
extra->padding = 0;
return<the time>;
}


might be okay.

I think you want s64 as the return type (for both 32 and 64 bit). This is what I was trying to suggest as well.

-Arun (Clicks the virtually non-existent like button)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/