From f6e08302989ad215977faba96fbf6028e9b3c87a Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Wed, 3 Sep 2014 11:44:55 +0800 Subject: util: Move general qemu_getauxval to util/getauxval.c So that we won't have an empty getauxval.o which is disliked by ranlib. Reported-by: Peter Maydell Tested-by: Peter Maydell Signed-off-by: Fam Zheng Signed-off-by: Paolo Bonzini --- include/qemu/osdep.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/qemu/osdep.h') diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 9dd43fc..1565404 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -246,11 +246,7 @@ char *qemu_get_exec_dir(void); * Search the auxiliary vector for @type, returning the value * or 0 if @type is not present. */ -#if defined(CONFIG_GETAUXVAL) || defined(__linux__) unsigned long qemu_getauxval(unsigned long type); -#else -static inline unsigned long qemu_getauxval(unsigned long type) { return 0; } -#endif void qemu_set_tty_echo(int fd, bool echo); -- cgit v1.1