Module Name: src
Committed By: christos
Date: Mon Jul 9 00:47:48 UTC 2018
Modified Files:
src/lib/libpuffs: callcontext.c
Log Message:
revert previous now that MAP_ALIGNED has been fixed.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libpuffs/callcontext.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpuffs/callcontext.c
diff -u src/lib/libpuffs/callcontext.c:1.29 src/lib/libpuffs/callcontext.c:1.30
--- src/lib/libpuffs/callcontext.c:1.29 Sun Jul 8 12:48:47 2018
+++ src/lib/libpuffs/callcontext.c Sun Jul 8 20:47:47 2018
@@ -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 @@ slowccalloc(struct puffs_usermount *pu)
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;