Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add tests to check that the expected context factory is really used.
[simgrid.git] / src / simix / smx_context_raw.c
index bd78c9c..7daec04 100644 (file)
@@ -1,4 +1,4 @@
-/* context_raw - fast context switching inspired from System V ucontextes   */
+/* context_raw - fast context switching inspired from System V ucontexts   */
 
 /* Copyright (c) 2009-2013. The SimGrid Team.
  * All rights reserved.                                                     */
@@ -44,7 +44,7 @@ extern raw_stack_t raw_makecontext(char* malloced_stack, int stack_size,
                                    rawctx_entry_point_t entry_point, void* arg);
 extern void raw_swapcontext(raw_stack_t* old, raw_stack_t new);
 
-#ifdef PROCESSOR_x86_64
+#if PROCESSOR_x86_64
 __asm__ (
 #if defined(APPLE)
    ".text\n"