* [2.6 patch] x86: make struct efi_phys static
@ 2008-02-13 21:29 Adrian Bunk
2008-02-14 2:07 ` Huang, Ying
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-02-13 21:29 UTC (permalink / raw)
To: Chandramouli Narayanan, Huang Ying, tglx, mingo, hpa; +Cc: linux-kernel
Thuis patch makes the needlessly global struct efi_phys static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] x86: make struct efi_phys static
2008-02-13 21:29 [2.6 patch] x86: make struct efi_phys static Adrian Bunk
@ 2008-02-14 2:07 ` Huang, Ying
0 siblings, 0 replies; 2+ messages in thread
From: Huang, Ying @ 2008-02-14 2:07 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Chandramouli Narayanan, tglx, mingo, hpa, linux-kernel
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@kernel.org>
>
> ---
> 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@intel.com>
Best Regards,
Huang Ying
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-14 2:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13 21:29 [2.6 patch] x86: make struct efi_phys static Adrian Bunk
2008-02-14 2:07 ` Huang, Ying
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox