Skip to content

Commit 60ad903

Browse files
fvincenzoKAGA-KOKO
authored andcommitted
arm64: vdso: Include common headers in the vdso library
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 vdso implementation to include common headers. Signed-off-by: Vincenzo Frascino <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent f511e07 commit 60ad903

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

arch/arm64/include/asm/vdso/gettimeofday.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#ifndef __ASSEMBLY__
99

1010
#include <asm/unistd.h>
11-
#include <uapi/linux/time.h>
1211

1312
#define VDSO_HAS_CLOCK_GETRES 1
1413

arch/arm64/kernel/vdso/vgettimeofday.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* Copyright (C) 2018 ARM Limited
66
*
77
*/
8-
#include <linux/time.h>
9-
#include <linux/types.h>
108

119
int __kernel_clock_gettime(clockid_t clock,
1210
struct __kernel_timespec *ts)

0 commit comments

Comments
 (0)