strip out per cpu thread code

This commit is contained in:
Chris Eagle
2016-03-25 17:24:28 -07:00
parent a7d89a8c63
commit 9467254fc0
31 changed files with 8 additions and 426 deletions

View File

@ -71,15 +71,6 @@ extern int daemon(int, int);
#include <sys/sysctl.h>
#endif
int qemu_get_thread_id(void)
{
#if defined(__linux__)
return syscall(SYS_gettid);
#else
return getpid();
#endif
}
int qemu_daemon(int nochdir, int noclose)
{
return daemon(nochdir, noclose);