forked from Minki/linux
72adf47764
As 32bit system is not using 4-level page, rename it to temp_pgt so that it can be reused for both 32bit and 64bit hibernation. No functional change. Signed-off-by: Zhimin Gu <kookoo.gu@intel.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Chen Yu <yu.c.chen@intel.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
15 lines
496 B
C
15 lines
496 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifdef CONFIG_X86_32
|
|
# include <asm/suspend_32.h>
|
|
#else
|
|
# include <asm/suspend_64.h>
|
|
#endif
|
|
extern unsigned long restore_jump_address __visible;
|
|
extern unsigned long jump_address_phys;
|
|
extern unsigned long restore_cr3 __visible;
|
|
extern unsigned long temp_pgt __visible;
|
|
extern unsigned long relocated_restore_code __visible;
|
|
extern int relocate_restore_code(void);
|
|
/* Defined in hibernate_asm_32/64.S */
|
|
extern asmlinkage __visible int restore_image(void);
|