[CRIU] [PATCH 3/4] Sort x86_64 VDSO entries alphabetically
Christopher Covington
cov at codeaurora.org
Wed Apr 9 08:13:12 PDT 2014
This will make comparison with other ports easier.
Signed-off-by: Christopher Covington <cov at codeaurora.org>
---
arch/x86/include/asm/vdso.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/x86/include/asm/vdso.h b/arch/x86/include/asm/vdso.h
index f231e1f..267f46c 100644
--- a/arch/x86/include/asm/vdso.h
+++ b/arch/x86/include/asm/vdso.h
@@ -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, \
};
--
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by the Linux Foundation.
More information about the CRIU
mailing list