Browse Source

Ref #82. Disable outputing debug information in alloc_mmap.

tags/v0.1.0^2
Xianyi Zhang 14 years ago
parent
commit
0b89a7a92d
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      driver/others/memory.c

+ 1
- 2
driver/others/memory.c View File

@@ -389,8 +389,7 @@ static void *alloc_mmap(void *address){
if (map_address != (void *)-1) {
#ifdef OS_LINUX
#if 1
//#ifdef DEBUG
#ifdef DEBUG
int ret=0;
ret=my_mbind(map_address, BUFFER_SIZE * SCALING, MPOL_PREFERRED, NULL, 0, 0);
if(ret==-1){


Loading…
Cancel
Save