mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 04:11:49 +00:00
7a59ed415f
This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Reviewed-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Stefani Seibold <stefani@seibold.net> Link: http://lkml.kernel.org/r/1395094933-14252-10-git-send-email-stefani@seibold.net Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
12 lines
224 B
C
12 lines
224 B
C
#ifndef _ASM_X86_VDSO32_H
|
|
#define _ASM_X86_VDSO32_H
|
|
|
|
#define VDSO_BASE_PAGE 0
|
|
#define VDSO_VVAR_PAGE 1
|
|
#define VDSO_HPET_PAGE 2
|
|
#define VDSO_PAGES 3
|
|
#define VDSO_PREV_PAGES 2
|
|
#define VDSO_OFFSET(x) ((x) * PAGE_SIZE)
|
|
|
|
#endif
|