From: Matt Fleming Date: Fri, 22 Feb 2013 15:03:47 +0000 (+0000) Subject: x86, efi: Mark disable_runtime as __initdata X-Git-Tag: upstream/snapshot3+hdmi~5617^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=058e7b5814534461b0e2468fce5a8f8d2f43c38f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git x86, efi: Mark disable_runtime as __initdata disable_runtime is only referenced from __init functions, so mark it as __initdata. Reported-by: Yinghai Lu Reviewed-by: Satoru Takeuchi Signed-off-by: Matt Fleming Link: http://lkml.kernel.org/r/1361545427-26393-1-git-send-email-matt@console-pimps.org Signed-off-by: H. Peter Anvin --- diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index e2cd38f..ec9f325 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c @@ -85,7 +85,7 @@ int efi_enabled(int facility) } EXPORT_SYMBOL(efi_enabled); -static bool disable_runtime = false; +static bool __initdata disable_runtime = false; static int __init setup_noefi(char *arg) { disable_runtime = true;