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

From: Andi Kleen
Date: Fri Nov 24 2006 - 12:34:35 EST



> 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

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