lkml.org 
[lkml]   [2009]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] Dynamic Tick: Allow 32-bit machines to sleep for more than 2.15 seconds
Jon Hunter wrote:

> So this
> assumes that long long will be a 64-bit type which I don't like.
> However, this would not cause any compilation issues even if long long
> turned out to be 32-bits or 128-bits (if this is even possible).

Isn't "long long" guaranteed to be 64-bit on all linux systems?

Unless the width is critical, I'd prefer to stay away from u64 until it
gets unified between architectures. I recently ran into a problem
printk-ing a "u64" value because it was a different type on ppc64 than
x86-64.


Chris


\
 
 \ /
  Last update: 2009-04-22 17:33    [W:0.072 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site