Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpuffs revert previous now that MAP_ALIGNED has been f...
details: https://anonhg.NetBSD.org/src/rev/a35fd8de88b3
branches: trunk
changeset: 991312:a35fd8de88b3
user: christos <christos%NetBSD.org@localhost>
date: Mon Jul 09 00:47:47 2018 +0000
description:
revert previous now that MAP_ALIGNED has been fixed.
diffstat:
lib/libpuffs/callcontext.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e1e100d204da -r a35fd8de88b3 lib/libpuffs/callcontext.c
--- a/lib/libpuffs/callcontext.c Mon Jul 09 00:46:19 2018 +0000
+++ b/lib/libpuffs/callcontext.c Mon Jul 09 00:47:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: callcontext.c,v 1.29 2018/07/08 16:48:47 christos Exp $ */
+/* $NetBSD: callcontext.c,v 1.30 2018/07/09 00:47:47 christos Exp $ */
/*
* Copyright (c) 2006, 2007, 2008 Antti Kantee. All Rights Reserved.
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: callcontext.c,v 1.29 2018/07/08 16:48:47 christos Exp $");
+__RCSID("$NetBSD: callcontext.c,v 1.30 2018/07/09 00:47:47 christos Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -194,7 +194,7 @@
return &fakecc;
sp = mmap(NULL, stacksize, PROT_READ|PROT_WRITE,
- (int)(MAP_ANON|MAP_PRIVATE|MAP_ALIGNED(pu->pu_cc_stackshift)), -1, 0);
+ MAP_ANON|MAP_PRIVATE|MAP_ALIGNED(pu->pu_cc_stackshift), -1, 0);
if (sp == MAP_FAILED)
return NULL;
Home |
Main Index |
Thread Index |
Old Index