summaryrefslogtreecommitdiffstats
path: root/arch/x86/power
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-05-02 00:44:37 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2014-05-06 01:07:44 +0200
commit2605fc216fa492f9e7c488bdc7f687cd6dcc703b (patch)
tree24090c594c60f94907bcd107bdc5cbcba03c4c8c /arch/x86/power
parentasmlinkage: Revert "lto: Make asmlinkage __visible" (diff)
downloadlinux-2605fc216fa492f9e7c488bdc7f687cd6dcc703b.tar.xz
linux-2605fc216fa492f9e7c488bdc7f687cd6dcc703b.zip
asmlinkage, x86: Add explicit __visible to arch/x86/*
As requested by Linus add explicit __visible to the asmlinkage users. This marks all functions visible to assembler. Tree sweep for arch/x86/* Signed-off-by: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1398984278-29319-3-git-send-email-andi@firstfloor.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/power')
-rw-r--r--arch/x86/power/hibernate_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c
index 304fca20d96e..35e2bb6c0f37 100644
--- a/arch/x86/power/hibernate_64.c
+++ b/arch/x86/power/hibernate_64.c
@@ -23,7 +23,7 @@
extern __visible const void __nosave_begin, __nosave_end;
/* Defined in hibernate_asm_64.S */
-extern asmlinkage int restore_image(void);
+extern asmlinkage __visible int restore_image(void);
/*
* Address to jump to in the last phase of restore in order to get to the image