mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
b95a1c4f77
(cherry picked from commit 23730413fef4be7fe365f452fcaef16c5f4e4b1b) Signed-off-by: Domen Kožar <domen@dev.si>
30 lines
877 B
Diff
30 lines
877 B
Diff
From 54c2f3fdb941204cad136024c7b854b7ad112ab6 Mon Sep 17 00:00:00 2001
|
|
From: Andi Kleen <ak@linux.intel.com>
|
|
Date: Mon, 5 Aug 2013 15:02:45 -0700
|
|
Subject: x86, asmlinkage, apm: Make APM data structure used from assembler
|
|
visible
|
|
|
|
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 | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c
|
|
index 53a4e27..3ab0343 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;
|
|
--
|
|
cgit v0.12
|
|
|