From 7c46db0a781dc613f9ab66a6d2632bb23e895895 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Fri, 25 May 2012 17:14:18 -0700 Subject: [PATCH] threads: fixup stack allocation (snapshotting...) --- threads.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/threads.cc b/threads.cc index bdeea6a..37b0f1a 100644 --- a/threads.cc +++ b/threads.cc @@ -9,12 +9,12 @@ static void * stack_allocate(size_t size) { - return MYMALLOC(size); + return malloc(size); } static void stack_free(void *stack) { - MYFREE(stack); + free(stack); } Thread * thread_current(void) -- 2.34.1