strip out per cpu thread code
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user