summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/vdso/vsyscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/vdso/vsyscall.h')
-rw-r--r--arch/powerpc/include/asm/vdso/vsyscall.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/vdso/vsyscall.h b/arch/powerpc/include/asm/vdso/vsyscall.h
index 48cf23f1e273..92f480d8cc6d 100644
--- a/arch/powerpc/include/asm/vdso/vsyscall.h
+++ b/arch/powerpc/include/asm/vdso/vsyscall.h
@@ -17,6 +17,12 @@ struct vdso_data *__arch_get_k_vdso_data(void)
}
#define __arch_get_k_vdso_data __arch_get_k_vdso_data
+static __always_inline
+struct vdso_rng_data *__arch_get_k_vdso_rng_data(void)
+{
+ return &vdso_data->rng_data;
+}
+
/* The asm-generic header needs to be included after the definitions above */
#include <asm-generic/vdso/vsyscall.h>