lkml.org 
[lkml]   [2003]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Minor header bug? MIPS (32-bit) nlink_t sign
On Tue, Jan 21, 2003 at 04:09:59PM +1100, Stephen Rothwell wrote:

> > Stephen, I guess you have already figured this out with your recent
> > 32-bit compatibility cleanup?
>
> I mainly did direct substitutions, but will have a look shortly and see
> what I think.
>
> I assume we are being compatable with Irix? Ralf?

Dunno where the signed int for nlink_t did come from. The original idea
was to avoid pointless creativity and choose data types to match IRIX
rsp. the MIPS psABI. As using a signed type didn't create any visible
problems so far this never got noticed until Jamie Lokier mailed me last
week. I now changed the definition to unsigned long for the 32-bit
kernel and unsigned int for the 64-bit kernel.

Ralf
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.051 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site