summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-12-11 01:19:24 +0100
committerAnas Nashif <anas.nashif@intel.com>2013-01-15 13:32:15 -0800
commit58ddc158a78c3cf33d07142b92343f87be57eccd (patch)
tree4cf62e810fe202607081f966c1fe1219a24e7cc2
parent8b969fdfb9c5a658c95686b6173eb18ed9a7d644 (diff)
downloadqemu-58ddc158a78c3cf33d07142b92343f87be57eccd.tar.gz
qemu-58ddc158a78c3cf33d07142b92343f87be57eccd.tar.bz2
qemu-58ddc158a78c3cf33d07142b92343f87be57eccd.zip
linux-user: Ignore timer_create syscall
We don't implement the timer_create syscall, but shouting out loud about it breaks some %check tests in OBS, so better ignore it silently. Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--linux-user/syscall.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index d8d41c594..1b8058c19 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -8615,6 +8615,11 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
break;
#endif
+#if defined(TARGET_NR_timer_create)
+ case TARGET_NR_timer_create:
+ goto unimplemented_nowarn;
+#endif
+
#if defined(TARGET_NR_tkill) && defined(__NR_tkill)
case TARGET_NR_tkill:
ret = get_errno(sys_tkill((int)arg1, target_to_host_signal(arg2)));