Re: where in inb/inw/inl defined for x86?

Brian Gerst (bgerst@quark.vpplus.com)
Thu, 18 Nov 1999 10:37:00 -0500


kmv@fan.com wrote:
>
> hi,
>
> where is inb/inw/inl() defined for x86? When I try to load a module
> which uses inl, I get
> test.o: unresolved symbol inl
>
> I am using 2.2.10 kernel
>
> Thanks in advance,
> Raju

The in* functions are defined in <asm/io.h> as inline functions.
However, GCC will not actually inline them unless you turn on
optimization with -O

--

Brian Gerst

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/