projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1256276
)
x86, efi: Mark disable_runtime as __initdata
author
Matt Fleming
<matt.fleming@intel.com>
Fri, 22 Feb 2013 15:03:47 +0000
(15:03 +0000)
committer
H. Peter Anvin
<hpa@linux.intel.com>
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 <yinghai@kernel.org>
Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Link:
http://lkml.kernel.org/r/1361545427-26393-1-git-send-email-matt@console-pimps.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/platform/efi/efi.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/platform/efi/efi.c
b/arch/x86/platform/efi/efi.c
index e2cd38ffc4064e694cf8231805ce24c1067f3265..ec9f3254c7f18fcd6289ed8d7d56a0225e1c9daa 100644
(file)
--- 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;