From: Andi Kleen Date: Mon, 5 Aug 2013 22:02:45 +0000 (-0700) Subject: x86, asmlinkage, apm: Make APM data structure used from assembler visible X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d2bec8f2fc546020e9b15d388ce23d6a00b0b38;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git x86, asmlinkage, apm: Make APM data structure used from assembler visible commit 54c2f3fdb941204cad136024c7b854b7ad112ab6 upstream. Signed-off-by: Andi Kleen Link: http://lkml.kernel.org/r/1375740170-7446-12-git-send-email-andi@firstfloor.org Signed-off-by: H. Peter Anvin Signed-off-by: Willy Tarreau --- diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c index 53a4e2744846..3ab03430211d 100644 --- a/arch/x86/kernel/apm_32.c +++ b/arch/x86/kernel/apm_32.c @@ -392,7 +392,7 @@ static struct cpuidle_device apm_cpuidle_device; /* * Local variables */ -static struct { +__visible struct { unsigned long offset; unsigned short segment; } apm_bios_entry;