Changeset 10222


Ignore:
Timestamp:
Jul 28, 2008, 12:36:46 PM (11 years ago)
Author:
gb
Message:

Don't conditionalize for Solaris in UnProtectMemory?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/memory.c

    r10030 r10222  
    9090UnProtectMemory(LogicalAddress addr, natural nbytes)
    9191{
    92 #ifdef SOLARIS
    93   if (nbytes > page_size) {
    94     return addr != mmap(addr,nbytes,PROT_READ|PROT_WRITE|PROT_EXEC,
    95                         MAP_PRIVATE | MAP_FIXED | MAP_ANON,-1,0);
    96   }
    97 #endif
    9892  return mprotect(addr, nbytes, PROT_READ|PROT_WRITE|PROT_EXEC);
    99 
    10093}
    10194
Note: See TracChangeset for help on using the changeset viewer.