]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/machine_routines.c
xnu-344.tar.gz
[apple/xnu.git] / osfmk / i386 / machine_routines.c
index cd3021564d1a2d99ddd8f1551908bb7d5664e66b..eb25581691368f5a074fc20fbf67b3991d9eb456 100644 (file)
@@ -22,6 +22,7 @@
 #include <i386/machine_routines.h>
 #include <i386/io_map_entries.h>
 #include <kern/cpu_data.h>
+#include <kern/thread_act.h>
 
 /* IO memory map services */
 
@@ -154,3 +155,10 @@ be_tracing()
 {
   return(0);
 }
+
+#undef current_act
+thread_act_t
+current_act(void)
+{               
+        return(current_act_fast());
+}