On Tue, Apr 24, 2007 at 06:03:48PM +0200, Eric Dumazet wrote:
> On Tue, 24 Apr 2007 17:53:24 +0200
> Adrian Bunk <[EMAIL PROTECTED]> wrote:
> > Couldn't this be better solved by adding something like the following
> > to include/linux/ktime.h ?
> >
> > static inline s64 ktime_to_us(const ktime_t
On Wed, 25 Apr 2007 01:10:28 +0900 (JST)
YOSHIFUJI Hideaki <[EMAIL PROTECTED]> wrote:
> How about this?
>
>
> +static inline s64 ktime_to_us(const ktime_t kt)
> +{
> + struct timeval tv = ktime_to_timeval(kt);
> + return tv.tv_sec * USEC_PER_SEC + tv.tv_usec;
> +}
> +
Well, I am afrai
In article <[EMAIL PROTECTED]> (at Wed, 25 Apr 2007 00:58:45 +0900 (JST)),
YOSHIFUJI Hideaki / 吉藤英明 <[EMAIL PROTECTED]> says:
> In article <[EMAIL PROTECTED]> (at Tue, 24 Apr 2007 17:53:24 +0200), Adrian
> Bunk <[EMAIL PROTECTED]> says:
>
> > On Wed, Apr 25, 2007 at 12:17:43AM +0900, YOSHIFUJI
On Tue, 24 Apr 2007 17:53:24 +0200
Adrian Bunk <[EMAIL PROTECTED]> wrote:
> Couldn't this be better solved by adding something like the following
> to include/linux/ktime.h ?
>
> static inline s64 ktime_to_us(const ktime_t kt)
> {
>return (s64) kt.tv.sec * USEC_PER_SEC + kt.tv.nsec / NSEC_PER
In article <[EMAIL PROTECTED]> (at Tue, 24 Apr 2007 17:53:24 +0200), Adrian
Bunk <[EMAIL PROTECTED]> says:
> On Wed, Apr 25, 2007 at 12:17:43AM +0900, YOSHIFUJI Hideaki / 吉藤英明 wrote:
> > Recent ktime_t changes had introduced linkage errors.
> >
> > | WARNING: "__divdi3" [net/ipv4/tcp_veno.ko] un
On Wed, Apr 25, 2007 at 12:17:43AM +0900, YOSHIFUJI Hideaki / 吉藤英明 wrote:
> Recent ktime_t changes had introduced linkage errors.
>
> | WARNING: "__divdi3" [net/ipv4/tcp_veno.ko] undefined!
> | WARNING: "__divdi3" [net/ipv4/tcp_vegas.ko] undefined!
> | WARNING: "__divdi3" [net/ipv4/tcp_lp.ko] unde
Recent ktime_t changes had introduced linkage errors.
| WARNING: "__divdi3" [net/ipv4/tcp_veno.ko] undefined!
| WARNING: "__divdi3" [net/ipv4/tcp_vegas.ko] undefined!
| WARNING: "__divdi3" [net/ipv4/tcp_lp.ko] undefined!
| WARNING: "__divdi3" [net/ipv4/tcp_illinois.ko] undefined!
Signed-off-by: Y