summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/asm/vdso.h
blob: 7f0ea2aa7d8c0df9cc1ee792220cddf97434e369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __ASM_VDSO_H
#define __ASM_VDSO_H

struct timespec;

#define __VDSO_CLOCK_GETTIME
#define __VDSO_GETCPU
#define __VDSO_TIME

static int (*__vdso_clock_gettime)(int, struct timespec *) = 0;
static int (*__vdso_getcpu)(unsigned *, unsigned *, void *) = 0;
static int (*__vdso_time)(long *) = 0;

struct {
	const char *name;
	void *func;
} __vdso_symtab[] = { { "__vdso_clock_gettime", (void *)&__vdso_clock_gettime },
		      { "__vdso_getcpu", (void *)&__vdso_getcpu },
		      { "__vdso_time", (void *)&__vdso_time },
		      { 0, 0 } };

#endif