]> Git Repo - linux.git/commitdiff
x86, efi: Mark disable_runtime as __initdata
authorMatt Fleming <[email protected]>
Fri, 22 Feb 2013 15:03:47 +0000 (15:03 +0000)
committerH. Peter Anvin <[email protected]>
Tue, 26 Feb 2013 00:01:35 +0000 (16:01 -0800)
disable_runtime is only referenced from __init functions, so mark it
as __initdata.

Reported-by: Yinghai Lu <[email protected]>
Reviewed-by: Satoru Takeuchi <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
arch/x86/platform/efi/efi.c

index e2cd38ffc4064e694cf8231805ce24c1067f3265..ec9f3254c7f18fcd6289ed8d7d56a0225e1c9daa 100644 (file)
@@ -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;
This page took 0.06859 seconds and 4 git commands to generate.