~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to darwin-user/mmap.c

  • Committer: Blue Swirl
  • Date: 2009-08-31 15:14:40 UTC
  • Revision ID: git-v1:528e93a9787ccfc59582a44035f5f342caf5b84f
Fix breakage due to __thread

Thread-local storage is not supported on all hosts.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *  GNU General Public License for more details.
15
15
 *
16
16
 *  You should have received a copy of the GNU General Public License
17
 
 *  along with this program; if not, write to the Free Software
18
 
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
17
 *  along with this program; if not, see <http://www.gnu.org/licenses/>.
19
18
 */
20
19
#include <stdlib.h>
21
20
#include <stdio.h>
408
407
    start &= qemu_host_page_mask;
409
408
    return msync((void *)start, end - start, flags);
410
409
}
411