Re: Tasklet usage?

Robert Hancock
2004-10-16T17:56:58Z

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" <drzeus-list@drzeus.cx>
Newsgroups: fa.linux.kernel
To: "Roland Dreier" <roland@topspin.com>
Cc: "LKML" <linux-kernel@vger.kernel.org>
Sent: Saturday, October 16, 2004 10:37 AM
Subject: Re: Tasklet usage?

> Roland Dreier wrote:
>
>>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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/