Is there a reason, other than historical, why "jiffies" is "unsigned
long"? Isn't that a 64-bit type in a 64-bit kernel?
A more general question: I have an application that gets information
from the kernel through a read of a /proc node, formatted via a struct
that has fields that are typed in ways that change in size, depending
upon whether it's dealing with a 32-bit kernel or a 64-bit kernel. I'd
like to be able to have this 32-bit app work with a 64-bit kernel. Is
there a general protocol to support this?
John
|