https://github.com/torvalds/linux
Raw File
Tip revision: 30a2f3c60a84092c8084dfe788b710f8d0768cd4 authored by Linus Torvalds on 13 August 2008, 01:55:39 UTC
Linux 2.6.27-rc3
Tip revision: 30a2f3c
vvar.c
/* 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) *const vdso_ ## x = (void *)VMAGIC;
#include "vextern.h"
back to top