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)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 6 Aug 2013 21:20:20 +0000 (14:20 -0700)
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>
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;