linux_old1/arch/x86/entry
Linus Torvalds 459e3a2153 gcc-9: properly declare the {pv,hv}clock_page storage
The pvlock_page and hvclock_page variables are (as the name implies)
addresses to pages, created by the linker script.

But we declared them as just "extern u8" variables, which _works_, but
now that gcc does some more bounds checking, it causes warnings like

    warning: array subscript 1 is outside array bounds of ‘u8[1]’

when we then access more than one byte from those variables.

Fix this by simply making the declaration of the variables match
reality, which makes the compiler happy too.

Signed-off-by: Linus Torvalds <torvalds@-linux-foundation.org>
2019-05-01 11:20:53 -07:00
..
syscalls pidfd patches for v5.1-rc1 2019-03-16 13:47:14 -07:00
vdso gcc-9: properly declare the {pv,hv}clock_page storage 2019-05-01 11:20:53 -07:00
vsyscall Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
calling.h jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
common.c x86: Fix various typos in comments 2018-12-03 10:49:13 +01:00
entry_32.S New gcc plugin: stackleak 2018-11-01 11:46:27 -07:00
entry_64.S kprobes/x86: Blacklist non-attachable interrupt functions 2018-12-06 16:52:03 +01:00
entry_64_compat.S x86/entry/64/compat: Fix stack switching for XEN PV 2019-01-18 00:39:33 +01:00
syscall_32.c syscalls/x86: Unconditionally enable 'struct pt_regs' based syscalls on x86_64 2018-04-05 16:59:38 +02:00
syscall_64.c syscalls/x86: Unconditionally enable 'struct pt_regs' based syscalls on x86_64 2018-04-05 16:59:38 +02:00
thunk_32.S x86: move exports to actual definitions 2016-08-07 23:47:15 -04:00
thunk_64.S x86: move exports to actual definitions 2016-08-07 23:47:15 -04:00