x86, asmlinkage, apm: Make APM data structure used from assembler visible
authorAndi Kleen <ak@linux.intel.com>
Mon, 5 Aug 2013 22:02:45 +0000 (15:02 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:13:09 +0000 (13:13 +0000)
commit 54c2f3fdb941204cad136024c7b854b7ad112ab6 upstream.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1375740170-7446-12-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
arch/x86/kernel/apm_32.c

index 53a4e274484698ad00e0e59f592fcfb4977e5c00..3ab03430211d6d4714e94234b432bac9e813b1e7 100644 (file)
@@ -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;