Re: [2.6 patch] x86: make struct efi_phys static
From: Huang, Ying
Date: Wed Feb 13 2008 - 21:07:08 EST
On Wed, 2008-02-13 at 23:29 +0200, Adrian Bunk wrote:
> Thuis patch makes the needlessly global struct efi_phys static.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
>
> ---
> 3002c1d384e748f2928823ff4b10ed4d6082dceb
> diff --git a/arch/x86/kernel/efi.c b/arch/x86/kernel/efi.c
> index 1411324..1211ab2 100644
> --- a/arch/x86/kernel/efi.c
> +++ b/arch/x86/kernel/efi.c
> @@ -54,7 +54,7 @@ EXPORT_SYMBOL(efi);
>
> struct efi_memory_map memmap;
>
> -struct efi efi_phys __initdata;
> +static struct efi efi_phys __initdata;
> static efi_system_table_t efi_systab __initdata;
>
> static int __init setup_noefi(char *arg)
Reviewed-by: Huang Ying <ying.huang@xxxxxxxxx>
Best Regards,
Huang Ying
--
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/