lkml.org 
[lkml]   [2002]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 27 Nov 2002 00:06:40 -0800 (PST)
SubjectRe: [PATCH] Start of compat32.h (again)
From"David S. Miller" <>
   From: David Mosberger <davidm@napali.hpl.hp.com>
Date: Wed, 27 Nov 2002 00:00:53 -0800

It should be safe to declare the syscall
return type always as "long", no?

Sign extension is a rule of the architecture.

So if the platform says "int shall not be sign
extended to 64-bits", declaring as long is wrong.
-
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:31    [from the cache]
©2003-2010