diff options
author | Andi Kleen <ak@linux.intel.com> | 2013-08-05 15:02:49 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-08-06 14:21:03 -0700 |
commit | d6efc2f7240b4e55590df69d74f33fdb72ce934a (patch) | |
tree | 6f495f4497e94bf276edae948ef9917881ce4360 /arch/x86/power/hibernate_64.c | |
parent | b6c035d04e80b4244a143e34e51c84cf2181bd94 (diff) | |
download | linux-d6efc2f7240b4e55590df69d74f33fdb72ce934a.tar.gz linux-d6efc2f7240b4e55590df69d74f33fdb72ce934a.tar.bz2 linux-d6efc2f7240b4e55590df69d74f33fdb72ce934a.zip |
x86, asmlinkage, power: Make various symbols used by the suspend asm code visible
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1375740170-7446-16-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/power/hibernate_64.c')
-rw-r--r-- | arch/x86/power/hibernate_64.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c index a0fde91c16cf..304fca20d96e 100644 --- a/arch/x86/power/hibernate_64.c +++ b/arch/x86/power/hibernate_64.c @@ -20,26 +20,26 @@ #include <asm/suspend.h> /* References to section boundaries */ -extern const void __nosave_begin, __nosave_end; +extern __visible const void __nosave_begin, __nosave_end; /* Defined in hibernate_asm_64.S */ -extern int restore_image(void); +extern asmlinkage int restore_image(void); /* * Address to jump to in the last phase of restore in order to get to the image * kernel's text (this value is passed in the image header). */ -unsigned long restore_jump_address; +unsigned long restore_jump_address __visible; /* * Value of the cr3 register from before the hibernation (this value is passed * in the image header). */ -unsigned long restore_cr3; +unsigned long restore_cr3 __visible; -pgd_t *temp_level4_pgt; +pgd_t *temp_level4_pgt __visible; -void *relocated_restore_code; +void *relocated_restore_code __visible; static void *alloc_pgt_page(void *context) { |