efi/x86: Allow translating 64-bit arguments for mixed mode calls
[linux-2.6-block.git] / arch / x86 / boot / compressed / eboot.c
index 565ee4733579fcfda4c90ae6db9ce9949efb543d..4afd29eb5b34726c3389008773a3c7afed23f009 100644 (file)
@@ -891,19 +891,3 @@ fail:
        for (;;)
                asm("hlt");
 }
-
-#ifdef CONFIG_EFI_MIXED
-void efi_free_native(unsigned long size, unsigned long addr);
-
-void efi_free(unsigned long size, unsigned long addr)
-{
-       if (!size)
-               return;
-
-       if (efi_is_native())
-               efi_free_native(size, addr);
-       else
-               efi64_thunk(efi_system_table()->boottime->mixed_mode.free_pages,
-                           addr, 0, DIV_ROUND_UP(size, EFI_PAGE_SIZE));
-}
-#endif