Re: [PATCH] efi_limit_regions triggers link failure when CONFIG_EFI is not defined

Andi Kleen
2006-11-24T17:33:56Z

> Compiler is as below:
>
> gcc version 3.3.4 (Debian 1:3.3.4-3)

Ah, pre unit-at-a-time and some other quirks too. Hopefully
at some point we can unsupport it.

> Yes, making efi_limit_regions() inline also seems to work.

Ok i will make it so.

> Can we
> guarentee it will be inlined though? I had the feeling that inline was
> advisory and if it does not inline then we will get the link failures.

It's defined to __attribute__((always_inline)) inline

-Andi