summaryrefslogtreecommitdiffstats
path: root/arch/x86/vdso/vvar.c
blob: 6fc22219a47249bfd8b9f13698103d4efd0eb7c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Define pointer to external vDSO variables.
   These are part of the vDSO. The kernel fills in the real addresses
   at boot time. This is done because when the vdso is linked the
   kernel isn't yet and we don't know the final addresses. */
#include <linux/kernel.h>
#include <linux/time.h>
#include <asm/vsyscall.h>
#include <asm/timex.h>
#include <asm/vgtod.h>

#define VEXTERN(x) typeof (__ ## x) *vdso_ ## x = (void *)VMAGIC;
#include "vextern.h"
OpenPOWER on IntegriCloud