Re: [PATCH] bring sanity to div64.h and do_div usage

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Fri Feb 22 2002 - 10:17:09 EST


Jes Sorensen wrote:
>
> Anton Altaparmakov <aia21@cam.ac.uk> writes:
>
> > At 17:57 08/02/02, Troy Benjegerdes wrote:
> > >Well, there's a reason I left out CONFIG_M68K deps.. Go tell me where
> > >CONFIG_M68K is defined.. ;)
> >
> > Appologies, it's in Configure.help but that is not a too useful places to
> > have it. However the kernel seems to be using:
> >
> > #if defined(__mc68000__) so just use that instead. Any m68k people reading
> > this care to comment?
>
> __mc68000__ is the correct define, I don't know who put in CONFIG_M68K
> but it doesn't belong there.

I disagree -- look at arch/*/config.in.

Each arch needs to define a CONFIG_$ARCH.

It looks like cris and mk68 are one of the few arches that fail to do
this...
> # Identify this as a Sparc64 build
> define_bool CONFIG_SPARC64 y

Sigh, this should be in an 'arch' specification :)

        Jeff

-- 
Jeff Garzik      | "UNIX enhancements aren't."
Building 1024    |           -- says /usr/games/fortune
MandrakeSoft     |
-
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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:41 EST