Browse Source

black magic for sparc page size can go

OPENBSD_6_1
tedu 8 years ago
parent
commit
6c73827bf7
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      src/lib/libc/stdlib/malloc.c

+ 2
- 4
src/lib/libc/stdlib/malloc.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: malloc.c,v 1.193 2016/08/17 05:33:54 otto Exp $ */
/* $OpenBSD: malloc.c,v 1.194 2016/09/01 10:20:22 tedu Exp $ */
/*
* Copyright (c) 2008, 2010, 2011 Otto Moerbeek <otto@drijf.net>
* Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org>
@ -44,9 +44,7 @@
#include "thread_private.h"
#if defined(__sparc__) && !defined(__sparcv9__)
#define MALLOC_PAGESHIFT (13U)
#elif defined(__mips64__)
#if defined(__mips64__)
#define MALLOC_PAGESHIFT (14U)
#else
#define MALLOC_PAGESHIFT (PAGE_SHIFT)


Loading…
Cancel
Save