Re: Why do some net drivers require __OPTIMIZE__?

Alan Cox (alan@lxorguk.ukuu.org.uk)
06 Jan 2003 15:36:07 +0000


> Does anybody know the history behind those lines? Do they serve any
> purpose now or in the past? Should I be nervous about compiling the
> kernel at a *lower* than normal optimization level? After all
> optimizations are generally processor specific and shouldn't affect the
> meaning of the C.

Some of our inline and asm blocks assume things like optimisation. Killing
that check and adding -finline-functions ought to be enough to get what
you expect.

-
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/