2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

Sort x86_64 VDSO entries alphabetically

This will make comparison with other ports easier.

Signed-off-by: Christopher Covington <cov@codeaurora.org>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Christopher Covington
2014-04-09 11:13:12 -04:00
committed by Pavel Emelyanov
parent c1cd6b5e5f
commit 6f9de7cccd

View File

@@ -11,17 +11,17 @@
* we should support at the moment.
*/
enum {
VDSO_SYMBOL_GETTIMEOFDAY,
VDSO_SYMBOL_GETCPU,
VDSO_SYMBOL_CLOCK_GETTIME,
VDSO_SYMBOL_GETCPU,
VDSO_SYMBOL_GETTIMEOFDAY,
VDSO_SYMBOL_TIME,
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_GETCPU_NAME "__vdso_getcpu"
#define VDSO_SYMBOL_GETTIMEOFDAY_NAME "__vdso_gettimeofday"
#define VDSO_SYMBOL_TIME_NAME "__vdso_time"
@@ -33,9 +33,9 @@ char ident_name[] = { \
}; \
\
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_GETCPU] = VDSO_SYMBOL_GETCPU_NAME, \
[VDSO_SYMBOL_GETTIMEOFDAY] = VDSO_SYMBOL_GETTIMEOFDAY_NAME, \
[VDSO_SYMBOL_TIME] = VDSO_SYMBOL_TIME_NAME, \
};