linux-mips
[Top] [All Lists]

Re: 64-bit sysinfo

To: tor@spacetec.no (Tor Arntsen), linux-mips@linux-mips.org
Subject: Re: 64-bit sysinfo
From: Trevor Woerner <mips081@vtnet.ca>
Date: Thu, 12 Jun 2003 08:04:47 -0400
In-reply-to: <200306121119.h5CBJWqC027855@pallas.spacetec.no>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200306121119.h5CBJWqC027855@pallas.spacetec.no>
Reply-to: mips081@vtnet.ca
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.4.3
On June 12, 2003 07:19 am, Tor Arntsen wrote:
> Hm, that sounds wrong to me. 'int' is supposed to be 32 bits also on
> 64-bit systems, only 'long' should be 64 bits.

Right, sorry. That was suppsed to read long. In any case, I put 'printk' 
where the calls are being made as printed out the sizeof() of the 
values and discovered that in user space they're 32 bits and in the 
kernel they're 64 bits.

        Trevor

<Prev in Thread] Current Thread [Next in Thread>