lib/vdso: Enable common headers
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Fri, 20 Mar 2020 14:53:50 +0000 (14:53 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 21 Mar 2020 14:24:03 +0000 (15:24 +0100)
commit8c59ab839f526437831ff6d1405c9a6d93f475eb
tree1e1fc21db3715b1976e0b96e31932915474fdfba
parent78c8516141014cf6322ac899c3832f66612504bb
lib/vdso: Enable common headers

The vDSO library should only include the necessary headers required for
a userspace library (UAPI and a minimal set of kernel headers). To make
this possible it is necessary to isolate from the kernel headers the
common parts that are strictly necessary to build the library.

Refactor the unified vdso code to use the common headers.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200320145351.32292-26-vincenzo.frascino@arm.com
include/vdso/datapage.h
lib/vdso/gettimeofday.c