projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[POWERPC] Don't expose clock vDSO functions when CPU has no timebase
[firefly-linux-kernel-4.4.55.git]
/
arch
/
powerpc
/
kernel
/
vdso.c
diff --git
a/arch/powerpc/kernel/vdso.c
b/arch/powerpc/kernel/vdso.c
index cef01e4e898916483f289238e7d4bc3ac79c59bb..213fa31ac53785155b4293536b198437e6457182 100644
(file)
--- a/
arch/powerpc/kernel/vdso.c
+++ b/
arch/powerpc/kernel/vdso.c
@@
-98,6
+98,18
@@
static struct vdso_patch_def vdso_patches[] = {
CPU_FTR_USE_TB, 0,
"__kernel_gettimeofday", NULL
},
+ {
+ CPU_FTR_USE_TB, 0,
+ "__kernel_clock_gettime", NULL
+ },
+ {
+ CPU_FTR_USE_TB, 0,
+ "__kernel_clock_getres", NULL
+ },
+ {
+ CPU_FTR_USE_TB, 0,
+ "__kernel_get_tbfreq", NULL
+ },
};
/*