alistair23-linux/arch
Arnd Bergmann 168b6511e8 x86: hibernate: fix swsusp_arch_resume() prototype
The declaration for swsusp_arch_resume() marks it as 'asmlinkage',
but the definition in x86-32 does not, and it fails to include
the header with the declaration.  This leads to a warning when
building with link-time-optimizations:

kernel/power/power.h:108:23: error: type of 'swsusp_arch_resume' does not match original declaration [-Werror=lto-type-mismatch]
 extern asmlinkage int swsusp_arch_resume(void);
                       ^
arch/x86/power/hibernate_32.c:148:0: note: 'swsusp_arch_resume' was previously declared here
 int swsusp_arch_resume(void)

This moves the declaration into a globally visible header file
and fixes up both x86 definitions to match it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2018-02-07 12:18:23 +01:00
..
alpha init_task out-of-lining 2018-01-29 09:08:34 -08:00
arc init_task out-of-lining 2018-01-29 09:08:34 -08:00
arm Power management updates for v4.16-rc1 2018-01-29 09:47:41 -08:00
arm64 init_task out-of-lining 2018-01-29 09:08:34 -08:00
blackfin Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
c6x Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
cris Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
frv Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
h8300 Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
hexagon Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
ia64 init_task out-of-lining 2018-01-29 09:08:34 -08:00
m32r init_task out-of-lining 2018-01-29 09:08:34 -08:00
m68k Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
metag Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
microblaze Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
mips init_task out-of-lining 2018-01-29 09:08:34 -08:00
mn10300 Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
nios2 Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
openrisc Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
parisc init_task out-of-lining 2018-01-29 09:08:34 -08:00
powerpc init_task out-of-lining 2018-01-29 09:08:34 -08:00
riscv init_task out-of-lining 2018-01-29 09:08:34 -08:00
s390 init_task out-of-lining 2018-01-29 09:08:34 -08:00
score Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
sh init_task out-of-lining 2018-01-29 09:08:34 -08:00
sparc init_task out-of-lining 2018-01-29 09:08:34 -08:00
tile Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
um Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
unicore32 init_task out-of-lining 2018-01-29 09:08:34 -08:00
x86 x86: hibernate: fix swsusp_arch_resume() prototype 2018-02-07 12:18:23 +01:00
xtensa Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
.gitignore
Kconfig Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00