Commit 6f9de7cc authored by Christopher Covington's avatar Christopher Covington Committed by Pavel Emelyanov

Sort x86_64 VDSO entries alphabetically

This will make comparison with other ports easier.
Signed-off-by: 's avatarChristopher Covington <cov@codeaurora.org>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent c1cd6b5e
...@@ -11,17 +11,17 @@ ...@@ -11,17 +11,17 @@
* we should support at the moment. * we should support at the moment.
*/ */
enum { enum {
VDSO_SYMBOL_GETTIMEOFDAY,
VDSO_SYMBOL_GETCPU,
VDSO_SYMBOL_CLOCK_GETTIME, VDSO_SYMBOL_CLOCK_GETTIME,
VDSO_SYMBOL_GETCPU,
VDSO_SYMBOL_GETTIMEOFDAY,
VDSO_SYMBOL_TIME, VDSO_SYMBOL_TIME,
VDSO_SYMBOL_MAX VDSO_SYMBOL_MAX
}; };
#define VDSO_SYMBOL_GETTIMEOFDAY_NAME "__vdso_gettimeofday"
#define VDSO_SYMBOL_GETCPU_NAME "__vdso_getcpu"
#define VDSO_SYMBOL_CLOCK_GETTIME_NAME "__vdso_clock_gettime" #define VDSO_SYMBOL_CLOCK_GETTIME_NAME "__vdso_clock_gettime"
#define VDSO_SYMBOL_GETCPU_NAME "__vdso_getcpu"
#define VDSO_SYMBOL_GETTIMEOFDAY_NAME "__vdso_gettimeofday"
#define VDSO_SYMBOL_TIME_NAME "__vdso_time" #define VDSO_SYMBOL_TIME_NAME "__vdso_time"
...@@ -33,9 +33,9 @@ char ident_name[] = { \ ...@@ -33,9 +33,9 @@ char ident_name[] = { \
}; \ }; \
\ \
char *symtab_name[VDSO_SYMBOL_MAX] = { \ char *symtab_name[VDSO_SYMBOL_MAX] = { \
[VDSO_SYMBOL_GETTIMEOFDAY] = VDSO_SYMBOL_GETTIMEOFDAY_NAME, \
[VDSO_SYMBOL_GETCPU] = VDSO_SYMBOL_GETCPU_NAME, \
[VDSO_SYMBOL_CLOCK_GETTIME] = VDSO_SYMBOL_CLOCK_GETTIME_NAME, \ [VDSO_SYMBOL_CLOCK_GETTIME] = VDSO_SYMBOL_CLOCK_GETTIME_NAME, \
[VDSO_SYMBOL_GETCPU] = VDSO_SYMBOL_GETCPU_NAME, \
[VDSO_SYMBOL_GETTIMEOFDAY] = VDSO_SYMBOL_GETTIMEOFDAY_NAME, \
[VDSO_SYMBOL_TIME] = VDSO_SYMBOL_TIME_NAME, \ [VDSO_SYMBOL_TIME] = VDSO_SYMBOL_TIME_NAME, \
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment