Tasklet usage?
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
If you want an exact size, int32_t, uint32_t, etc. are what you'd need to use.. Typically "long" is the biggest that can be handled in single machine instructions, though there is no guarantee of this (I think the language standard only guarantees that long is as least as big as int and at least 32 bits).
----- Original Message ----- From: "Pierre Ossman" <[email protected]>
Newsgroups: fa.linux.kernel
To: "Roland Dreier" <[email protected]>
Cc: "LKML" <[email protected]>
Sent: Saturday, October 16, 2004 10:37 AM
Subject: Re: Tasklet usage?
Quoted 18 lines
Quoted 6 lines · Roland Dreier
unsigned long will be 64 bits on a 64-bit system. There are many places in the Linux kernel where we assume that void * and long are the same size.
- Roland
Just out of curiosity, how do you declare a 32-bit int then? I thought longlong would be the 64-bit int under gcc and long stay as it is.
Rgds
Pierre-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/