linux_old1/arch/x86/entry/vdso
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
..
vdso32 x86: Add build salt to the vDSO 2018-07-18 01:18:05 +09:00
.gitignore
Makefile x86/vdso: Pass --eh-frame-hdr to the linker 2018-12-15 11:37:51 +01:00
checkundef.sh
vclock_gettime.c gcc-9: properly declare the {pv,hv}clock_page storage 2019-05-01 11:20:53 -07:00
vdso-layout.lds.S x86/vdso: Remove a stale/misleading comment from the linker script 2018-12-05 08:58:12 +01:00
vdso-note.S x86: Add build salt to the vDSO 2018-07-18 01:18:05 +09:00
vdso.lds.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vdso2c.c x86/vdso: Remove obsolete "fake section table" reservation 2018-12-05 08:58:11 +01:00
vdso2c.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vdso32-setup.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vdsox32.lds.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vgetcpu.c x86/fsgsbase/64: Clean up various details 2018-10-08 10:45:04 +02:00
vma.c x86: Fix various typos in comments 2018-12-03 10:49:13 +01:00