On Friday 24 November 2006 17:59, Andy Whitcroft wrote:> The following patch is needed to get 2.6.19-rc6-mm1 to compile with> CONFIG_EFI disabled. This is the 'shortest' fix. However, it does> appear that there is some overlap with EFI implmentation partly> being in e820.c and partly in efi.c. It might make sense to move> everything efi related over to efi.c.

It compiles here. And the ifdef status hasn't changed at all.

Ah maybe your compiler failed to inline the function so the compilercouldn't optimize it away. What compiler were you using? Does itgo away if you add a "inline" to efi_limit_regions()?