Removed CmiInterruptsRelease and CmiInterruptsBlock from CmiAlloc and
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Fri, 17 Jan 1997 19:19:52 +0000 (19:19 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Fri, 17 Jan 1997 19:19:52 +0000 (19:19 +0000)
CmiFree.

src/arch/net/machine.c

index b07c5276076944e7d0f2d146e78642a36a98b1b1..051926d1c7a0fe2274705f9cde41fc184db033f6 100644 (file)
@@ -365,10 +365,8 @@ int size;
 {
   cmi_state cs = CmiState();
   char *res;
-  CmiInterruptsBlock();
   cs->NumAlloc++;
   res =(char *)malloc(size+8);
-  CmiInterruptsRelease();
   if (res==0) KillEveryone("Memory allocation failed.");
   ((int *)res)[0]=size;
   return (void *)(res+8);
@@ -384,10 +382,8 @@ void CmiFree(blk)
 void *blk;
 {
   cmi_state cs = CmiState();
-  CmiInterruptsBlock();
   cs->NumFree++;
   free(((char *)blk)-8);
-  CmiInterruptsRelease();
 }
 
 /*****************************************************************************