Subject: Re: CVS commit: src/sys/kern
To: Matt Thomas <matt@3am-software.com>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 09/09/2006 16:52:53
Matt Thomas <matt@3am-software.com> wrote:

> > please make this code not conditional on COMPAT_NETBSD32, since
> > that can be an LKM.... 
> It should be conditional on _LP64.  (32 bit platforms don't need it.)

The problem is that _LP64 does not means netbsd32 capability. For
instance, alpha defines _LP64, but it is not able to run a 32 bit
binary. 

I have the feeling we lack a set of macro that tell what an arch could
do (ie: kernel could be built with compat_netbsd32), and not what is
built in the current kernel.

Something such as HAVE_COMPAT_NETBSD32? 

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org