64Mbytes on Sandpoint-X3B
Tom Rini
trini at kernel.crashing.org
Sat Jun 1 04:25:40 EST 2002
On Fri, May 31, 2002 at 02:18:57PM -0400, Mark A. Greer wrote:
> Tom Rini wrote:
>
> > > I dunno guys, I think the compiler usually optimizes that all away and you
> > > should never see "openfirmware". I don't recall ever seeing it print out. I
> > > think something fishy is going on...
> >
> > Er, first, it becomes:
> > if (1)
> > So we always 'do it'. However, all of the __openfirmware code is now
> > almost never compiled in on !CONFIG_ALL_PPC, so we never see it being
> > free'd.
>
> That was my point.
Er, but it didn't make any sense. :)
The __openfirmware code does not get optimized away, iirc. Unless we
lose global functions which don't have any callers..
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list