x86/vdso: Give the [ph]vclock_page declarations real types
authorAndy Lutomirski <luto@kernel.org>
Sat, 22 Jun 2019 22:08:18 +0000 (15:08 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2019 23:21:31 +0000 (01:21 +0200)
commitecf9db3d1f1a8fd2c335148891c3b044e9ce0628
tree29bf703dc04824059adb715a2fb5bed2098b6631
parent22ca962288c0a1c9729e8e440b9bb9ad05df6db6
x86/vdso: Give the [ph]vclock_page declarations real types

Clean up the vDSO code a bit by giving pvclock_page and hvclock_page
their actual types instead of u8[PAGE_SIZE].  This shouldn't
materially affect the generated code.

Heavily based on a patch from Linus.

[ tglx: Adapted to the unified VDSO code ]

Co-developed-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/6920c5188f8658001af1fc56fd35b815706d300c.1561241273.git.luto@kernel.org
arch/x86/include/asm/vdso/gettimeofday.h