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/afb36ce21053
branches:  trunk
changeset: 320456:afb36ce21053
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 312f0d312b32 -r afb36ce21053 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