syscall.c (3f9ac9b39bd82b51f6aa46103836ae12bcbcb22e) syscall.c (03dfe9f871871921c03c3c65ff69c68759186994)
1/*
2 * Linux syscalls
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 71 unchanged lines hidden (view full) ---

80#include <linux/mtio.h>
81#include <linux/fs.h>
82#include "linux_loop.h"
83
84#include "qemu.h"
85#include "qemu-common.h"
86
87#if defined(USE_NPTL)
1/*
2 * Linux syscalls
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 71 unchanged lines hidden (view full) ---

80#include <linux/mtio.h>
81#include <linux/fs.h>
82#include "linux_loop.h"
83
84#include "qemu.h"
85#include "qemu-common.h"
86
87#if defined(USE_NPTL)
88#include <linux/futex.h>
89#define CLONE_NPTL_FLAGS2 (CLONE_SETTLS | \
90 CLONE_PARENT_SETTID | CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID)
91#else
92/* XXX: Hardcode the above values. */
93#define CLONE_NPTL_FLAGS2 0
94#endif
95
96//#define DEBUG

--- 6869 unchanged lines hidden ---
88#define CLONE_NPTL_FLAGS2 (CLONE_SETTLS | \
89 CLONE_PARENT_SETTID | CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID)
90#else
91/* XXX: Hardcode the above values. */
92#define CLONE_NPTL_FLAGS2 0
93#endif
94
95//#define DEBUG

--- 6869 unchanged lines hidden ---