Browse Source

use PAGE_SHIFT instead of PGSHIFT, in preperation for future

param.h symbol reduction.
ok guenther
OPENBSD_5_2
deraadt 12 years ago
parent
commit
99a773bc80
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/stdlib/malloc.c

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

@ -1,4 +1,4 @@
/* $OpenBSD: malloc.c,v 1.145 2012/06/26 21:36:25 tedu Exp $ */
/* $OpenBSD: malloc.c,v 1.146 2012/07/09 08:39:24 deraadt Exp $ */
/*
* Copyright (c) 2008 Otto Moerbeek <otto@drijf.net>
*
@ -54,7 +54,7 @@
#elif defined(__mips64__)
#define MALLOC_PAGESHIFT (14U)
#else
#define MALLOC_PAGESHIFT (PGSHIFT)
#define MALLOC_PAGESHIFT (PAGE_SHIFT)
#endif
#define MALLOC_MINSHIFT 4


Loading…
Cancel
Save