lkml.org 
[lkml]   [2002]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] bring sanity to div64.h and do_div usage
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/
\
 
 \ /
  Last update: 2005-03-22 13:24    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site